Exemplo n.º 1
0
        Guid playerGuid; //:)

        public Player(IPacketClient client, GameServer game, Guid playerGuid)
        {
            this.Client     = client;
            this.game       = game;
            this.playerGuid = playerGuid;
            ID = Interlocked.Increment(ref _gid);
        }
Exemplo n.º 2
0
 public Player(IPacketClient client, GameServer game, Guid playerGuid)
 {
     this.Client     = client;
     this.Game       = game;
     this.playerGuid = playerGuid;
     ID = Interlocked.Increment(ref _gid);
     ResponseHandler = new NetResponseHandler();
     rpcClient       = new RemoteClientPlayer(this);
 }