Пример #1
0
 void Awake()
 {
     PdkGameManager.AddOnGameInfoEvt(OnGameInfo);
     PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame);
     Ddz2RemoteServer.AddOnUserJoinRoomEvt(OnUserJoinRoom);
     Ddz2RemoteServer.AddOnGpsInfoReceiveEvt(OnGpsInfoEvt);
 }
Пример #2
0
        //---------------------------------------------------------------------------------------end

        void Awake()
        {
            PdkGameManager.AddOnGameInfoEvt(CheckGameStatus);
            PdkGameManager.AddOnGetRejoinDataEvt(CheckGameStatus);
            //Ddz2RemoteServer.AddOnServResponseEvtDic(GlobalConstKey.TypeGrabSpeaker, OnTypeGrabSpeaker);
            PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeAllocate, OnAlloCateCds);
            PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeGameOver, OnTypeGameOver);
        }
Пример #3
0
 protected override void OnAwake()
 {
     PdkGameManager.AddOnGameInfoEvt(OnGameInfo);
     PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame);
     Ddz2RemoteServer.AddOnFindRoomEvt(OnFindRoom);
     Ddz2RemoteServer.AddOnUserReadyEvt(OnUserReady);
     PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeGameOver, OnTypeGameOver);
 }
Пример #4
0
        protected override void OnAwake()
        {
            Instance = this;

            PdkGameManager.AddOnGameInfoEvt(OnGameInfo);
            PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame);
            Ddz2RemoteServer.AddOnGameOverEvt(OnGameOverEvt);
            PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeAllocate, OnAlloCateCds);
        }
Пример #5
0
        protected override void OnAwake()
        {
            PdkGameManager.AddOnGameInfoEvt(OnGameInfo);
            PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame);
            //  Ddz2RemoteServer.AddOnServResponseEvtDic(GlobalConstKey.TypeFirstOut, TypeFirstOut);
            // Ddz2RemoteServer.AddOnUserReadyEvt(OnUserReady);
            //  Ddz2RemoteServer.AddOnchangeDizhu(OnChangDizhu);
            // Ddz2RemoteServer.AddOnServResponseEvtDic(GlobalConstKey.TypeDoubleOver, OnDoubleOver);
            // Ddz2RemoteServer.AddOnServResponseEvtDic(GlobalConstKey.TypeGrab, OnTypeGrab);
            PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeOutCard, OnTypeOutCard);
            PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeAllocate, OnAlloCateCds);

            //TrunBackAllDipai();
        }
Пример #6
0
        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);
        }
Пример #7
0
 protected override void OnAwake()
 {
     PdkGameManager.AddOnGameInfoEvt(OnGetRejoionData);
     PdkGameManager.AddOnGetRejoinDataEvt(OnGetRejoionData);
     PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeAllocate, OnAlloCateCds);
 }
Пример #8
0
 protected override void OnAwake()
 {
     PdkGameManager.AddOnGameInfoEvt(OnGameInfo);
     PdkGameManager.AddOnGetRejoinDataEvt(OnRejoin);
     Ddz2RemoteServer.AddOnUserReadyEvt(OnUserReady);
 }