コード例 #1
0
ファイル: FantasyFighterPlayer.cs プロジェクト: d3x0r/xperdex
 void Dispose()
 {
     arena   = null;
     fighter = null;
     socket  = null;
     client  = null;
     buffer  = null;
     reader  = null;
 }
コード例 #2
0
ファイル: FantasyFighterPlayer.cs プロジェクト: d3x0r/xperdex
        public FantasyFighterPlayer(AddEvent events, TcpClient client)
        {
            this.fighter = new FighterState();

            this.socket = client;
            this.client = client.Client;
            this.events = events;
            reader      = new MessageReader();
            buffer      = new byte[4096];
            BeginReading();
        }