let Event = {
    
    SOCKET_MSG://socket msg
    {   
        OPEN:'socket_open',
        DATA:'socket_data',
        ERROR:'socket_error',
        CLOSE:'socket_close',
        RECONNECT_START:'socket_reconnect_start',
        RECONNECT_OK:'socket_reconnect_ok',
        CLOSE:'socket_close',
        CREATE_SOCKET:'create_socket',
    },
    DATA_MSG://data msg
    {
        LOGIN:'data_login_ok',

    },
    CPT_MSG://Component msg
    {
        SHOW_USER_INFO:'cpt_showUserInfo',
        LOGON_SUCCESS:'cpt_loginSuccess',
        SERVER_LIST:'cpt_ServerList',
        GAME_START:'cpt_GameStart',
        CALL_SCORE:'cpt_CallScore', //--用户叫分
        BANKER_INFO:'cpt_BankerInfo', //--庄家信息 
        OUT_CARD:'cpt_OutCard', //--用户出牌
        PASS_CARD:'cpt_PassCard', //--用户放弃
        GAME_CONCLUDE:'cpt_GameConclude',//--游戏结束
        DEAL_CARDS_DONE: 'cpt_DealCardsDone',
        GAME_SCENE_CALL: 'cpt_gameSceneCall',//断线重连叫分
        GAME_SCENE_PLAY: 'cpt_gameScenePlay',//断线重连游戏中
        CLOSE_RESULT_LAYER: 'cpt_CloseResultLayer',//关闭游戏结算面板
        STAND_UP: 'cpt_StandUp',//退出对局
        LEVEL_INFO: 'cpt_LevelInfo',//玩家等级信息
        SELF_ON_STAND_UP: 'cpt_SelfOnStandUp',//玩家自己站起
        SEND_MSG:'cpt_SendMsg',
        REQUEST_FAILURE_MSG:'cpt_ReQuestFailure',


        MATCH_END:'cpt_matchEnd',
        BATTLE_START: 'cpt_battleStart',
        BATTLE_END: 'cpt_battleEnd',
        ROUND_START: 'cpt_roundStart',
        ROUND_END: 'cpt_roundEnd',
        ANSWER_RESPONCE: 'cpt_answerResponce',
        UNMATCH: 'cpt_unmatch',
        LOGIN_SHOW_USERINFO:'cpt_loginShowUserinfo',
        BATTLE_AGAIN: 'cpt_battleAgain',
        LEAVE_BATTLE: 'cpt_leaveBattle',
        PLAVER_LEAVE: 'cpt_playerLeave',
        BATTLE_AGAIN_READY: 'cpt_battleAgainReady',
        REFRESH_STRENGTH: 'cpt_refreshStrength',
        CREATE_FRIEND_PK_ROOM:'cpt_createFriendPKRoom',
        ENTER_FRIEND_PK_ROOM:'cpt_enterFriendPKRoom',
        INFORM_RESPONSE:'cpt_informResponse',
        LOADING_RATE_NOTIFY:'cpt_PlayerLoadingRateNotify',
        LOADING_COMPLETE_NOTIFY:'cpt_PlayerLoadingCompleteNotify',
        CREATE_TEAM_RESPONSE:'cpt_CreateTeamResponse',
        JOIN_TEAM_RESPONSE:'cpt_JoinTeamResponse',
        JOIN_TEAM_NOTIFY:'cpt_JoinTeamNotify',
        LEAVE_TEAM_NOTIFY:'cpt_LeaveTeamNotify',
        ROLE_BASEINFO_NOTIFY:'cpt_RoleBaseInfoNotify',

    },

    
    COM_MSG://Common msg
    {
        USER_ENTER:'com_userEnter',
        ENTER_ROOM:'com_enterRoom',
        UPDATE_USER:'com_updateUser',
        UPDATE_BTN_READY:'com_updateBtnReady',
        UPDATE_CELL_SCORE:'com_updateCellScore',
        EXIT_TABLE:'com_exitTable',
        SEND_MSG:'com_sendMsg',
        EXIT_GAME: 'com_exitGame',//退出游戏
        WANFA_INFO:'com_wanFa_Info',
        MOREGAME_INFO:'com_moregame_info',
        ROOM_INFO:'com_room_Info',
        USER_INFO:'com_user_Info',
        
        SET_RANK_VISIBLE:'com_setRankVisible',
        REFRESH_SUBDOMAIN:'com_refreshSubDomain',
        PRELOAD_DONE:'com_preloadDone',
        SHOW_WX_LOGIN_BTN:'com_showWXLoginBtn',
        AUTH_OK:'com_AuthOK',
        REFRESH_RANK_VIEW:'com_refreshRankView',
        REFRESH_GROUP_RANK_VIEW:'com_refreshGroupRankView',
        REFRESH_VIEW:'com_refreshView',
    },

        
        
    SubMsgID : {
        SUB_MSG_RANK_NORMAL_SCORE : 100,    //匹配分数
        SUB_MSG_RANK_NORMAL_BATTLE : 101,   //匹配胜场
        SUB_MSG_RANK_WEEKLY : 102,          //周赛分数
        SUB_MSG_SCORE_OMMIT : 103,          //提交分数
    },

    WX_CLOUD_KEY : 
    {
        maxNormalScore : 'maxNormalScore',
        maxWeekScore : 'maxWeekScore',
        normalBattle : 'normalBattle',
        normalBattleTime : 'normalBattleTime',
        maxNormalScoreTime : 'maxNormalScoreTime',
        maxWeekScoreTime : 'maxWeekScoreTime',
        totalWin : 'totalWin',
        totalScore : 'totalScore',
    },
};

export default Event;



