protected override void OnAwake() { PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeGameOver, OnTypeGameOver); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeFirstOut, OnTypeFirstOut); Ddz2RemoteServer.AddOnUserReadyEvt(OnUserReady); }
// Use this for initialization void Awake() { PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeGrab, OnTypeGrab); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypePass, OnTypePass); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeOutCard, OnTypeOutCard); Ddz2RemoteServer.AddOnVoiceChatEvt(OnUserSpeak); }
void Awake() { PdkGameManager.AddOnGameInfoEvt(OnGameInfo); PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame); Ddz2RemoteServer.AddOnUserJoinRoomEvt(OnUserJoinRoom); Ddz2RemoteServer.AddOnGpsInfoReceiveEvt(OnGpsInfoEvt); }
protected override void OnAwake() { Instance = this; PdkGameManager.AddOnGameInfoEvt(OnGameInfo); PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame); Ddz2RemoteServer.AddOnGameOverEvt(OnGameOverEvt); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeAllocate, OnAlloCateCds); }
protected override void OnAwake() { PdkGameManager.AddOnGameInfoEvt(SetUserInfo); PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame); Ddz2RemoteServer.AddOnUserReadyEvt(OnUserReady); Ddz2RemoteServer.AddOnUserJoinRoomEvt(OnUserJoinRoom); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeGrab, OnTypeGrab); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeGrabSpeaker, OnTypeGrabSpeaker); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeAllocate, OnAlloCateCds); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeFirstOut, TypeFirstOut); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeGameOver, OnTypeGameOver); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeDoubleOver, OnDoubleOver); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeBombScore, OnTypeBombScore); //Ddz2RemoteServer.AddOnServResponseEvtDic(GlobalConstKey.TypeOutCard, OnTypeOutCard); }
public void Awake() { Ddz2RemoteServer.AddOnHandUpEvt(OnHandUpEvt); }
void Awake() { Ddz2RemoteServer.AddOnVoiceChatEvt(OnUserSpeak); }
protected override void OnAwake() { PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame); Ddz2RemoteServer.AddOnHandUpEvt(OnHandUpEvt); Ddz2RemoteServer.AddOnGameOverEvt(OnGameOverEvt); }
public void Awake() { Ddz2RemoteServer.AddOnMsgChatEvt(OnUserTalk); }
protected override void OnAwake() { Ddz2RemoteServer.AddOnVoiceChatEvt(OnUserSpeak); }
protected override void OnAwake() { Ddz2RemoteServer.AddOnMsgChatEvt(OnUserTalk); }
protected override void OnAwake() { PdkGameManager.AddOnGameInfoEvt(OnGameInfo); PdkGameManager.AddOnGetRejoinDataEvt(OnRejoin); Ddz2RemoteServer.AddOnUserReadyEvt(OnUserReady); }