You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
167 lines
4.1 KiB
167 lines
4.1 KiB
/*
|
|
* @Descripttion:
|
|
* @version: 1.0.0
|
|
* @Author: YeeChan
|
|
* @Date: 2020-07-09 18:54:41
|
|
*/
|
|
|
|
|
|
/**
|
|
* 事件 相关
|
|
*/
|
|
export enum ryw_Event {
|
|
None_custom = 0,
|
|
//导出广告 取消
|
|
ryw_ADKRQ_ClickQuit_custom = 400,
|
|
ryw_Export3_Dismiss_custom = 401, //关闭导出页
|
|
|
|
ryw_App_CloseFirstLoadingView_custom = 500,
|
|
ryw_AD_OnShareAdFail_custom = 501,
|
|
//当界面打开
|
|
ryw_Game_OnViewOpen_custom = 600,//{view : ViewDef}
|
|
//当界面关闭
|
|
ryw_Game_OnViewClose_custom = 601,//{view : ViewDef}
|
|
//当玩家金币变动
|
|
ryw_Game_OnUserMoneyChange_custom = 701,//{curr:number,last:number}
|
|
//当玩家钻石变动
|
|
ryw_Game_OnUserCrystalChange_custom = 702,//{curr:number,last:number}
|
|
//当玩家商店解锁
|
|
ryw_Game_OnUserUnlockedStore_custom = 703,//{unlocked:number}
|
|
//当关卡开始
|
|
ryw_Game_OnLevelStart_custom = 1000,
|
|
//当关卡结束
|
|
ryw_Game_OnLevelComplate_custom = 1001,
|
|
//误点预加载完毕
|
|
ryw_AD_WudianBanner_LoadComplete_custom = 2217,
|
|
//显示误点Banner
|
|
ryw_AD_WudianBanner_Show_custom = 2218,
|
|
//影藏误点Banner
|
|
ryw_AD_WudianBanner_Hide_custom = 2219,
|
|
//预加载Banner
|
|
ryw_AD_WudianBanner_PreLoad_custom = 2220,
|
|
//当IP屏蔽状态更新
|
|
ryw_App_OnUpdateIpBlockState_custom = 2221,//{ipBlockFlag : number}
|
|
//友盟打点
|
|
ryw_Umeng_custom = 2230,
|
|
|
|
//平台服务器登录的状态
|
|
ryw_PlatformLoginState_custom = 2997,
|
|
//自己服务器登录的状态
|
|
ryw_NetLoginState_custom = 2998,
|
|
//获取用户数据
|
|
ryw_NetUserDataState_custom = 2999,
|
|
|
|
//视频播放完成
|
|
ryw_Video_Finish_custom = 3000,
|
|
//视频播放未完成
|
|
ryw_Video_UnFinish_custom = 3001,
|
|
//是否播放失败
|
|
ryw_Video_Error_custom = 3002,
|
|
//设置参数
|
|
ryw_SET_LIST_PARAM = 3003,
|
|
|
|
//更新体力
|
|
updatePhysicalPower = 3004,
|
|
//关闭提示
|
|
tooltipClose = 3005,
|
|
//关闭提示
|
|
timeOut = 3006,
|
|
//关闭提示
|
|
stopEffect = 3007,
|
|
//关闭提示
|
|
unLockLevel = 3008,
|
|
//关闭提示
|
|
unLockAllLevelTmp = 3009,
|
|
//确定进入关卡
|
|
checkInLevel = 3010,
|
|
//停止计时
|
|
stopTimeTick = 3011,
|
|
//开始计时
|
|
startTimeTick = 3012,
|
|
//关闭提示
|
|
unLockAllLevelTmp_fkwz = 3013,
|
|
//关闭提示
|
|
updateLevel = 3014,
|
|
//看视频开始
|
|
showAddTimeAd = 9001,
|
|
//加时
|
|
addTimeSucc = 9002,
|
|
//加时
|
|
addTimeFail = 9003,
|
|
|
|
//找茬1209密码
|
|
Check1209Mima = 9004,
|
|
Check1303Mima = 9005,
|
|
Check1501Mima = 9006,
|
|
//游戏中获取提示视频播放完成
|
|
ryw_GameScene_ToolTip_AD = 3020,
|
|
//游戏中获取答案视频播放完成
|
|
ryw_GameScene_Answer_AD = 3021,
|
|
|
|
|
|
loadFinish = 3022,
|
|
loadGame = 3023,
|
|
|
|
|
|
touchMoveCheck = 3024,
|
|
|
|
touchChaDianCheck = 3025,
|
|
|
|
chooseResult = 3026,
|
|
|
|
unLockAllLevelUpdate = 3027,
|
|
|
|
GuiZeGameBtnClick = 3028,
|
|
|
|
NormalTouchMoveCheck = 3029,
|
|
|
|
openGuizeLayerEvent = 3030,
|
|
|
|
NormalTouchEndCheck = 3031,
|
|
|
|
DirectTouchMoveCheck = 3032,
|
|
|
|
XianSuoPopUpEnd = 3033,
|
|
|
|
XianSuoHeChengEvent = 3034,
|
|
|
|
DuiChooseResult = 3035,
|
|
|
|
itemIconTouchTrue = 3036,
|
|
|
|
roleNodeTouchCheck = 3037,
|
|
|
|
itemIconTouchFalse = 3040,
|
|
|
|
openBGMove = 3038,
|
|
unLockAllLevelUpdate_fkwz = 3039,
|
|
unlockAllTipLevelUpdate = 3040,
|
|
unlockAllTipLevelFinish = 3041,
|
|
|
|
NormalTouchMoveDirCheck = 3042,
|
|
unlockLevel = 3043,
|
|
|
|
WordGameRevive = 3044,
|
|
//Tips:在这条添加定义你自己需要的事件,从10000号开始。记得分段分类管理不同类型事件。如果事件有传递参数 "必须" 在事件后面用注释写明事件参数结构。
|
|
ryw_updateContentShow = 10000,
|
|
game_hide_bottom = 10002,
|
|
game_show_bottom = 10003,
|
|
Game_Fail = 10004,
|
|
Game_Win = 10005,
|
|
game_restart = 10006,
|
|
start_hideWxtlBtn = 10007,
|
|
game_continue = 10008,
|
|
finish_newer = 10009,
|
|
finish_scale = 10010,
|
|
finish_left = 10011,
|
|
finish_game = 10012,
|
|
|
|
/**检测是否是剧情茬点 */
|
|
CheckIsChaDian = 550,
|
|
|
|
/**检测侧边栏是否可用 */
|
|
CheckCeBianLan = 100010,
|
|
|
|
/**检测是否从侧边栏进入 */
|
|
CheckIsEnterFromCeBianLan = 100011,
|
|
} |