public static ReturnValue <int> ExecuteCommand(string[] args) { AutoWaitReturnValue <KfCall._p6> _wait_ = AutoWaitReturnValue <KfCall._p6> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p19 _inputParameter_ = new KfCall._p19 { p0 = args }; KfCall._p6 _outputParameter_ = default(KfCall._p6); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p19, KfCall._p6>(TcpCall.KFServiceBase._c12, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <int> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p6> .PushNotNull(_wait_); } } return(new ReturnValue <int> { Type = ReturnType.ClientException }); }
public static ReturnValue <int> GetZhanDuiState(int zhanDuiID) { AutoWaitReturnValue <KfCall._p6> _wait_ = AutoWaitReturnValue <KfCall._p6> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p12 _inputParameter_ = new KfCall._p12 { p0 = zhanDuiID }; KfCall._p6 _outputParameter_ = default(KfCall._p6); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p12, KfCall._p6>(TcpCall.EscapeBattle_K._c22, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <int> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p6> .PushNotNull(_wait_); } } return(new ReturnValue <int> { Type = ReturnType.ClientException }); }
public static ReturnValue <int> GameResult(int gameId, List <int> zhanDuiScoreList) { AutoWaitReturnValue <KfCall._p6> _wait_ = AutoWaitReturnValue <KfCall._p6> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p5 _inputParameter_ = new KfCall._p5 { p1 = gameId, p0 = zhanDuiScoreList }; KfCall._p6 _outputParameter_ = default(KfCall._p6); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p5, KfCall._p6>(TcpCall.EscapeBattle_K._c3, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <int> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p6> .PushNotNull(_wait_); } } return(new ReturnValue <int> { Type = ReturnType.ClientException }); }