| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- // Learn TypeScript:
- // - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
- // Learn Attribute:
- // - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
- // Learn life-cycle callbacks:
- // - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
- import CommonData from "../datas/CommonData";
- import GlobalStorage from "../datas/GlobalStorage";
- import HttpM from "./HttpM";
- import AdM from "./AdM";
- import AudioM from "./AudioM";
- import ClubData from "../datas/ClubData";
- const { ccclass, property } = cc._decorator;
- @ccclass
- export default class GameM {
- /** 当前选中车 */
- static selCarMove: cc.Node = null
- /** 拖动结束位置车 */
- static otherCarMove: cc.Node = null
- static commonData: CommonData = CommonData.Instance
- static ClubData: ClubData = ClubData.Instance
- static globalStorage: GlobalStorage = GlobalStorage.Instance
- static httpM: HttpM = HttpM.Instance
- static adM: AdM = AdM.Instance
- static audioM: AudioM = AudioM.Instance
- }
- export enum VIDEO_TYPE {
- buyCar,
- turnTable,
- invest,
- investSpeed, //视频加速投资
- offLineDouble,
- newCarAward,
- gift_box,
- gift_redMoney, //飞船 获得元宝视频点
- gift_Prop, //飞船道具
- buyCarMainBtn, //主页 购买按钮视频按钮
- userLvUpAd, //用户等级提升奖励
- carLvUp, //看视频升级车等级
- taskRwardAd, //任务成就奖励领取
- hangUp, //挂机
- freshGet, //红包双倍领取
- freshOpenRed, //红包打开领取
- goVideo, //去看视频
- cashOut, //提现
- dailyGet, //每日领取
- dailyCash, //每日提现
- gift_gold, //飞船 获得金币视频点
- shopBuyCarBtn, //商店钱不够买车
- getTicket, //获取夺宝券
- join, //现金抽奖
- fight2Double, //战斗2双倍奖励
- clearCoolTime, //清除冷却时间
- clearShield, //清除护盾
- richFightAd, //大富翁 战斗结束全都要
- richCtrlAd, //大富翁 遥控卡视频
- richGetDiceAd, //大富翁 看视频获取骰子
- adRbProgressAd, //看视频拿红包 视频进度
- }
- export enum AUDIO_TYPE {
- bg = 'Background_music1', //背景音乐
- button = 'Button_click', //按钮点击音效
- runGetGold = 'Parking_money', //车过停车场音效
- compose = 'Vehicle_synthesis', //车辆合成音效
- giftFall = 'Gifts_fall', //盒子落下音效
- giftOpen = 'Gift_open', //盒子打开音效
- giftGetCar = 'Get_car', //盒子打开获得车的音效
- turntableDraw = 'turntable1', //转盘抽奖结束
- turntableDrawEnd = 'turntable_2', //转盘抽奖音效
- redMoneyOpen = 'Red_envelopes', //打开红包音效
- getGold = 'Get_gold', //获得金币音效
- purchaseCar = 'Purchase_car', //车辆购买的音效
- Airship = 'Airship', //打开飞艇音效
- ding = 'ding', //送助理玫瑰花的音效
- open_interface = 'open_interface', //打开礼包界面声音
- gaizhang = 'gaizhang', //盖章
- baozha = 'baozha', //工厂爆炸
- carSpeedUp = 'carSpeedUp', //汽车开始加速声音
- electricArc = 'electricArc', //电弧
- saveSuccess = 'saveSuccess', //存入银行成功
- build = 'build', //工厂建造
- work_0 = 'work_0',
- work_1 = 'work_1',
- work_2 = 'work_2',
- flower_0 = 'flower_0',
- flower_1 = 'flower_1',
- flower_2 = 'flower_2',
- hello_0 = 'hello_0',
- hello_1 = 'hello_1',
- hello_2 = 'hello_2',
- hello_3 = 'hello_3',
- hello_4 = 'hello_4',
- hello_5 = 'hello_5',
- hello_6 = 'hello_6',
- hello_7 = 'hello_7',
- hello_8 = 'hello_8',
- reward_0 = 'reward_0',
- reward_1 = 'reward_1',
- reward_2 = 'reward_2',
- skin_1001 = 'skin_1001',
- skin_1002 = 'skin_1002',
- skin_2001 = 'skin_2001',
- skin_2002 = 'skin_2002',
- skin_3001 = 'skin_3001',
- skin_3002 = 'skin_3002',
- //xiyou
- attack1 = 'attack1',
- attack2 = 'attack2',
- resist = 'resist',
- dodge = 'dodge',
- mate1_1 = 'mate1_1',
- mate1_2 = 'mate1_2',
- mate1_3 = 'mate1_3',
- mate2_1 = 'mate2_1',
- mate2_2 = 'mate2_2',
- mate2_3 = 'mate2_3',
- mate3_1 = 'mate3_1',
- mate4_1 = 'mate4_1',
- mate4_2 = 'mate4_2',
- mate5_1 = 'mate5_1',
- mate5_2 = 'mate5_2',
- talent = 'talent',
- fiveluck = 'fiveluck',
- fiveluckbgm = 'fiveluckbgm',
- fightBgm = 'fightBgm',
- victory = 'victory',
- fail = 'fail',
- box_open = 'box_open',
- flaw='flaw',
- wealthbgm='wealthbgm',
- wealthshield='wealthshield',
- wealthswim='wealthuseswim',
- wealthlaugh='wealthlaugh',
- sutrabgm='Sutra_BGM',
- sutracontactboss='Sutra_ContactBoss',
- sutradice='Sutra_Dice',
- sutraitemfly='Sutra_ItemFly',
- sutrapickup='Sutra_PickUP',
- sutratouchborder='Sutra_TouchBorder',
- sutratransfer='Sutra_Transfer',
- sutrawalk='Sutra_Walk',
- sutraanswersure='Sutra_AnswerCorrect',
- sutraanswererror='Sutra_AnswerError',
- }
- export enum Game_Quality {
- low = 0,
- mediumLow,
- medium,
- mediumHigh,
- high
- }
|