public Connection(GameSN gameSN) { this.connection.ConnectionSucceed += this.OnConnectionSucceeded; this.connection.ConnectionFail += this.OnConnectionFail; this.connection.Disconnected += this.OnDisconnected; this.connection.ExceptionOccur += this.OnExceptionOccur; this.connection.PacketReceive += this.connection_PacketReceive; this.gameSN = gameSN; }
public Initialize(GameSN gameSN, byte domainSN, string domainName) { this.GameSN = gameSN; this.DomainSN = domainSN; this.DomainName = domainName; }
public void SetGameSN(GameSN gameSN) { this.gameSN = gameSN; }