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 <List <KFBoCaoHistoryData> > GetWinHistory(int type) { AutoWaitReturnValue <KfCall._p17> _wait_ = AutoWaitReturnValue <KfCall._p17> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p12 _inputParameter_ = new KfCall._p12 { p0 = type }; KfCall._p17 _outputParameter_ = default(KfCall._p17); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p12, KfCall._p17>(TcpCall.KFBoCaiManager._c10, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <List <KFBoCaoHistoryData> > { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p17> .PushNotNull(_wait_); } } return(new ReturnValue <List <KFBoCaoHistoryData> > { Type = ReturnType.ClientException }); }