예제 #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);
        }
예제 #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);
 }