示例#1
0
        public void InitilizeComms(ChatManagerServer ChatServer, MultiplayerManagerBase Multiplayer)
        {
            Comms = new Comms(this);
            Comms.RegisterHandlers();

            _ChatManager = ChatServer;
            _MP          = Multiplayer;

            //initilize PlayerWatcher
            MP.PlayerJoined += MP_PlayerJoined;
            MP.PlayerLeft   += MP_PlayerLeft;
        }