Exemplo n.º 1
0
        void RegistPacketHandler()
        {
            LobbyHandler = new PacketHandler.Lobby();
            LobbyHandler.Init(ServerNetworkRef, DBManagerRef, LobbyManagerInst);

            PacketHandlerMap.Add((ushort)CSCommonLib.PACKET_ID.REQUEST_LEAVE_LOBBY, LobbyHandler.RequestEnterLobby);


            PacketHandlerMap.Add((ushort)CSCommonLib.PACKET_ID.INNER_ROLL_BACK_ENTER_LOBBY, LobbyHandler.InnerRoolBackEnterLobby);
        }
Exemplo n.º 2
0
        void RegistPacketHandler()
        {
            LobbyHandler = new PacketHandler.Lobby();
            LobbyHandler.Init(ServerNetworkRef, DBManagerRef, LobbyManagerInst);

            PacketHandlerMap.Add((ushort)CSCommonLib.PACKET_ID.REQUEST_LEAVE_LOBBY, LobbyHandler.RequestEnterLobby);

            PacketHandlerMap.Add((ushort)CSCommonLib.PACKET_ID.INNER_ROLL_BACK_ENTER_LOBBY, LobbyHandler.InnerRoolBackEnterLobby);
        }