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 <ZhanDuiZhengBaNtfPkResultData> > ZhengBaPkResult(int gameId, int winner1) { AutoWaitReturnValue <KfCall._p28> _wait_ = AutoWaitReturnValue <KfCall._p28> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p27 _inputParameter_ = new KfCall._p27 { p0 = gameId, p1 = winner1 }; KfCall._p28 _outputParameter_ = default(KfCall._p28); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p27, KfCall._p28>(TcpCall.ZhanDuiZhengBa_K._c18, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <List <ZhanDuiZhengBaNtfPkResultData> > { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p28> .PushNotNull(_wait_); } } return(new ReturnValue <List <ZhanDuiZhengBaNtfPkResultData> > { Type = ReturnType.ClientException }); }
public static ReturnValue <ZhanDuiZhengBaSyncData> SyncZhengBaData(ZhanDuiZhengBaSyncData lastSyncData) { AutoWaitReturnValue <KfCall._p24> _wait_ = AutoWaitReturnValue <KfCall._p24> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p23 _inputParameter_ = new KfCall._p23 { p0 = lastSyncData }; KfCall._p24 _outputParameter_ = default(KfCall._p24); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p23, KfCall._p24>(TcpCall.ZhanDuiZhengBa_K._c16, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <ZhanDuiZhengBaSyncData> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p24> .PushNotNull(_wait_); } } return(new ReturnValue <ZhanDuiZhengBaSyncData> { Type = ReturnType.ClientException }); }
public static ReturnValue <bool> InitializeClient(AutoCSer.Net.TcpInternalServer.ClientSocketSender _sender_, KuaFuClientContext clientInfo) { AutoWaitReturnValue <KfCall._p10> _wait_ = AutoWaitReturnValue <KfCall._p10> .Pop(); try { if (_sender_ != null) { KfCall._p20 _inputParameter_ = new KfCall._p20 { p0 = clientInfo }; KfCall._p10 _outputParameter_ = default(KfCall._p10); ReturnType _returnType_ = _sender_.WaitGet <KfCall._p20, KfCall._p10>(TcpCall.KFServiceBase._c13, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <bool> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p10> .PushNotNull(_wait_); } } return(new ReturnValue <bool> { Type = ReturnType.ClientException }); }
public static ReturnValue <string> SendData(int strLen, bool flag) { AutoWaitReturnValue <KfCall._p31> _wait_ = AutoWaitReturnValue <KfCall._p31> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p30 _inputParameter_ = new KfCall._p30 { p1 = strLen, p0 = flag }; KfCall._p31 _outputParameter_ = default(KfCall._p31); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p30, KfCall._p31>(TcpCall.TestS2KFCommunication._c23, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <string> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p31> .PushNotNull(_wait_); } } return(new ReturnValue <string> { 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 }); }
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 <bool> BuyBoCai(KFBuyBocaiData data) { AutoWaitReturnValue <KfCall._p10> _wait_ = AutoWaitReturnValue <KfCall._p10> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p11 _inputParameter_ = new KfCall._p11 { p0 = data }; KfCall._p10 _outputParameter_ = default(KfCall._p10); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p11, KfCall._p10>(TcpCall.KFBoCaiManager._c6, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <bool> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p10> .PushNotNull(_wait_); } } return(new ReturnValue <bool> { Type = ReturnType.ClientException }); }
public static ReturnValue <bool> BoCaiBuyItem(KFBoCaiShopDB Item, int maxNum) { AutoWaitReturnValue <KfCall._p10> _wait_ = AutoWaitReturnValue <KfCall._p10> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p9 _inputParameter_ = new KfCall._p9 { p0 = Item, p1 = maxNum }; KfCall._p10 _outputParameter_ = default(KfCall._p10); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p9, KfCall._p10>(TcpCall.KFBoCaiManager._c5, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <bool> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p10> .PushNotNull(_wait_); } } return(new ReturnValue <bool> { 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 }); }
public static ReturnValue <int> ZhengBaRequestEnter(int zhanDuiID, out int gameId, out int kuaFuServerID, out string[] ips, out int[] ports) { AutoWaitReturnValue <KfCall._p8> _wait_ = AutoWaitReturnValue <KfCall._p8> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p7 _inputParameter_ = new KfCall._p7 { p0 = zhanDuiID }; KfCall._p8 _outputParameter_ = default(KfCall._p8); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p7, KfCall._p8>(TcpCall.ZhanDuiZhengBa_K._c19, ref _wait_, ref _inputParameter_, ref _outputParameter_); gameId = _outputParameter_.p0; kuaFuServerID = _outputParameter_.p1; ips = _outputParameter_.p3; ports = _outputParameter_.p2; return(new ReturnValue <int> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p8> .PushNotNull(_wait_); } } gameId = 0; kuaFuServerID = 0; ips = null; ports = null; return(new ReturnValue <int> { Type = ReturnType.ClientException }); }
public static ReturnValue <int> ZhengBaKuaFuLogin(int zhanDuiID, int gameId, int srcServerID, out ZhanDuiZhengBaFuBenData copyData) { AutoWaitReturnValue <KfCall._p26> _wait_ = AutoWaitReturnValue <KfCall._p26> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p25 _inputParameter_ = new KfCall._p25 { p1 = zhanDuiID, p2 = gameId, p3 = srcServerID }; KfCall._p26 _outputParameter_ = default(KfCall._p26); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p25, KfCall._p26>(TcpCall.ZhanDuiZhengBa_K._c17, ref _wait_, ref _inputParameter_, ref _outputParameter_); copyData = _outputParameter_.p0; return(new ReturnValue <int> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p26> .PushNotNull(_wait_); } } copyData = null; return(new ReturnValue <int> { Type = ReturnType.ClientException }); }
public static ReturnValue <bool> IsCanBuy(int type, string buyValue, int buyNum, long DataPeriods) { AutoWaitReturnValue <KfCall._p10> _wait_ = AutoWaitReturnValue <KfCall._p10> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p18 _inputParameter_ = new KfCall._p18 { p0 = type, p3 = buyValue, p1 = buyNum, p2 = DataPeriods }; KfCall._p10 _outputParameter_ = default(KfCall._p10); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p18, KfCall._p10>(TcpCall.KFBoCaiManager._c11, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <bool> { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p10> .PushNotNull(_wait_); } } return(new ReturnValue <bool> { Type = ReturnType.ClientException }); }
public static ReturnValue <List <OpenLottery> > GetOpenLottery(int type, long DataPeriods, bool getOne) { AutoWaitReturnValue <KfCall._p16> _wait_ = AutoWaitReturnValue <KfCall._p16> .Pop(); try { AutoCSer.Net.TcpInternalServer.ClientSocketSender _socket_ = KfCall.TcpClient.Sender; if (_socket_ != null) { KfCall._p15 _inputParameter_ = new KfCall._p15 { p1 = type, p2 = DataPeriods, p0 = getOne }; KfCall._p16 _outputParameter_ = default(KfCall._p16); ReturnType _returnType_ = _socket_.WaitGet <KfCall._p15, KfCall._p16>(TcpCall.KFBoCaiManager._c9, ref _wait_, ref _inputParameter_, ref _outputParameter_); return(new ReturnValue <List <OpenLottery> > { Type = _returnType_, Value = _outputParameter_.Return }); } } finally { if (_wait_ != null) { AutoWaitReturnValue <KfCall._p16> .PushNotNull(_wait_); } } return(new ReturnValue <List <OpenLottery> > { Type = ReturnType.ClientException }); }