예제 #1
0
 public ServerPlayer(int id, IConnection connection)
 {
     this.id = id;
     conn    = connection;
 }
예제 #2
0
 public MpConnectionState(IConnection connection)
 {
     this.connection = connection;
 }
예제 #3
0
        public void OnPeerDisconnected(NetPeer peer, DisconnectInfo disconnectInfo)
        {
            IConnection conn = peer.GetConnection();

            server.OnDisconnected(conn, MpDisconnectReason.ClientLeft);
        }