public static void SetUnitRef(uint _UnitIdx, uint _ItemIdx, byte _PriceItTp, uint _PriceItNum, del_webResp_0 delfunc) { if (_PriceItTp == 1) { webRequest.nowUseGoods = ITEMTYPE.GEM; } else if (_PriceItTp == 2) { webRequest.nowUseGoods = ITEMTYPE.GOLD; } netData _net = new netData(); _net.set_SendData("UnitIdx", _UnitIdx); _net.set_SendData("ItemIdx", _ItemIdx); _net.set_SendData("PriceItTp", _PriceItTp); _net.set_SendData("PriceItNum", _PriceItNum); _net.del_result = delfunc; _net.protocolName = ProtocolName.SetItemRef; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void ClanList(del_webResp_0 delfunc) { netData _net = new netData(); _net.del_result = delfunc; _net.protocolName = ProtocolName.ClanList; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void GetConnectAdress(del_webResp_0 func1) { netData _net = new netData(); _net.del_result = func1; _net.protocolName = ProtocolName.GetConnectAdress; // 요청할 프로토콜이름 설정 web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void SearchUserClan(byte _SearchKind, string _SearchID, del_webResp_0 delfunc) { //확인할 유저아이디 저장 if (_SearchKind == 1) //유저이름 { if (!string.Equals(UserDataManager.instance.user.user_Users.NkNm, _SearchID)) { //확인할 유저아이디 순차적으로 큐에저장 UserDataManager.instance.Que_OtherUserIDs.Enqueue(_SearchID); } } else if (_SearchKind == 4) //유저아이디 { if (!string.Equals(UserDataManager.instance.user.user_Users.NkNm, _SearchID)) { //확인할 유저아이디 순차적으로 큐에저장 UserDataManager.instance.Que_OtherUserIDs.Enqueue(_SearchID); } } else if (_SearchKind == 2) //클랜이름 { if (!string.Equals(UserDataManager.instance.user.clan_Clans.ClanName, _SearchID)) { //확인할 클랜이름 순차적으로 큐에저장 UserDataManager.instance.Que_OtherUserIDs.Enqueue(_SearchID); } } else if (_SearchKind == 3) //클랜아이디 { if (UserDataManager.instance.user.clan_Clans.ClanID != Convert.ToUInt32(_SearchID)) { //확인할 클랜아이디 순차적으로 큐에저장 UserDataManager.instance.Que_OtherUserIDs.Enqueue(_SearchID); } } netData _net = new netData(); _net.set_SendData("SearchKnd", _SearchKind); _net.set_SendData("SearchID", _SearchID); _net.del_result = delfunc; _net.protocolName = ProtocolName.SearchUserClan; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void GameStart(int _btIdx, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("BtIdx", _btIdx); _net.del_result = delfunc; _net.protocolName = ProtocolName.GameStart; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void SetWords(string _Words, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("Words", _Words); _net.del_result = delfunc; _net.protocolName = ProtocolName.SetWords; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void GetCooponReward(string _CpNum, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("CpNum", _CpNum); _net.del_result = delfunc; _net.protocolName = ProtocolName.GetCooponReward; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void SetTutoBit(byte _BitIdx, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("BitIdx", _BitIdx); _net.del_result = delfunc; _net.protocolName = ProtocolName.SetTutoBit; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void GetReferenceDB(List <int> _dataIdxLst, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("DataIdxLst", _dataIdxLst); _net.del_result = delfunc; _net.protocolName = ProtocolName.GetReferenceDB; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void ClanOut(uint _OutUserID, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("OutUserID", _OutUserID); _net.del_result = delfunc; _net.protocolName = ProtocolName.ClanOut; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void GetServerList(string _CtrCd, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("CtrCd", _CtrCd); _net.del_result = delfunc; _net.protocolName = ProtocolName.GetServerList; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void FriendPostInvite(uint _InviteUserID, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("InviteUserID", _InviteUserID); _net.del_result = delfunc; _net.protocolName = ProtocolName.FriendPostInvite; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void GetAdDoubleRwd(AdDoubleRewardType _AdKnd, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("AdKnd", (int)_AdKnd); _net.del_result = delfunc; _net.protocolName = ProtocolName.GetAdDoubleRwd; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static uint nowSearchRankingUnitIdx = 0; // 랭킹 검색시 현재 랭킹 검색하고 있는 유닛인덱스 #region Protocol : CheckServer (서버상태 알기) public static void CheckServer(byte _MktIdx, int _ver, byte _LggCd, del_webResp_0 delfunc) { netData _net = new netData(ProtocolName.CheckServer); _net.set_SendData("MktIdx", _MktIdx); _net.set_SendData("ver", _ver); _net.set_SendData("LggCd", _LggCd); _net.del_result = delfunc; _net.protocolName = ProtocolName.CheckServer; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void SetOption(byte _LggCd, byte _ClanPush, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("LggCd", _LggCd); _net.set_SendData("ClanPush", _ClanPush); _net.del_result = delfunc; _net.protocolName = ProtocolName.SetOption; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void ClanBodWrite(string _BodTxt, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("BodTxt", _BodTxt); _net.del_result = delfunc; _net.protocolName = ProtocolName.ClanBodWrite; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void FriendAdd(uint _FrUserID, string _FrToken, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("FrUserID", _FrUserID); _net.set_SendData("FrToken", _FrToken); _net.del_result = delfunc; _net.protocolName = ProtocolName.FriendAdd; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void ClanGiveUnit(uint _UnitIdx, byte _MemIdx, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("UnitIdx", _UnitIdx); _net.set_SendData("MemIdx", _MemIdx); _net.del_result = delfunc; _net.protocolName = ProtocolName.ClanGiveUnit; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void GameEnd(int _endKey, bool _winFlg, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("EndKey", _endKey); _net.set_SendData("WinFlg", _winFlg); _net.del_result = delfunc; _net.protocolName = ProtocolName.GameEnd; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void ClanJoinAccept(ushort _BodIdx, uint _JoinUserID, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("BodIdx", _BodIdx); _net.set_SendData("JoinUserID", _JoinUserID); _net.del_result = delfunc; _net.protocolName = ProtocolName.ClanJoinAccept; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void ClanSetStep(byte _MemIdx, byte _CnRank, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("MemIdx", _MemIdx); _net.set_SendData("CnRank", _CnRank); _net.del_result = delfunc; _net.protocolName = ProtocolName.ClanSetStep; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void SetUseUnitIdx(uint _UnitIdx1, uint _UnitIdx2, uint _UnitIdx3, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("UnitIdx1", _UnitIdx1); _net.set_SendData("UnitIdx2", _UnitIdx2); _net.set_SendData("UnitIdx3", _UnitIdx3); _net.del_result = delfunc; _net.protocolName = ProtocolName.SetUseUnitIdx; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void SetItBoxUnLock(int _btSlotIdx, del_webResp_0 delfunc) { //사용하는 제화타입 저장 nowUseGoods = ITEMTYPE.GEM; netData _net = new netData(); _net.set_SendData("BtSlotIdx", _btSlotIdx); _net.del_result = delfunc; _net.protocolName = ProtocolName.SetItBoxUnLock; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void ClanInvite(uint _InviteUserID, del_webResp_0 delfunc) { //사용하는 제화타입 저장 nowUseGoods = ITEMTYPE.GOLD; netData _net = new netData(); _net.set_SendData("InviteUserID", _InviteUserID); _net.del_result = delfunc; _net.protocolName = ProtocolName.ClanInvite; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void UnitExpRanking(uint _UnitIdx, del_webResp_0 delfunc) { //현재 검색한 유닛인덱스 nowSearchRankingUnitIdx = _UnitIdx; netData _net = new netData(); _net.set_SendData("UnitIdx", _UnitIdx); _net.del_result = delfunc; _net.protocolName = ProtocolName.UnitExpRanking; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void SetMemeberChange(byte _PlfID, string _lgnKey, string _Email, del_webResp_0 func1) { netData _net = new netData(); _net.set_SendData("PlfID", _PlfID); _net.set_SendData("LgnKey", _lgnKey); _net.set_SendData("Email", _Email); _net.del_result = func1; _net.protocolName = ProtocolName.SetMemberChange; // 요청할 프로토콜이름 설정 web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void GetAuthentication(int _Ver, byte _PlfID, string _lgnKey, del_webResp_0 func1) { netData _net = new netData(); _net.set_SendData("Ver", _Ver); _net.set_SendData("PlfID", _PlfID); _net.set_SendData("LgnKey", _lgnKey); _net.del_result = func1; _net.protocolName = ProtocolName.GetAuthentication; // 요청할 프로토콜이름 설정 web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void ClanPersonsCntUp(int _Price, del_webResp_0 delfunc) { //사용하는 제화타입 저장 nowUseGoods = ITEMTYPE.GEM; netData _net = new netData(); _net.set_SendData("Price", _Price); _net.del_result = delfunc; _net.protocolName = ProtocolName.ClanPersonsCntUp; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void ClanSetBuf(byte _BufType, uint _Price, del_webResp_0 delfunc) { webRequest.nowUseGoods = ITEMTYPE.GEM; netData _net = new netData(); _net.set_SendData("BufType", _BufType); _net.set_SendData("Price", _Price); _net.del_result = delfunc; _net.protocolName = ProtocolName.ClanSetBuf; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }
public static void PostRecv(uint _PostIdx, uint _Month, bool _Accept, del_webResp_0 delfunc) { netData _net = new netData(); _net.set_SendData("PostIdx", _PostIdx); _net.set_SendData("Month", _Month); _net.set_SendData("Accept", _Accept); _net.del_result = delfunc; _net.protocolName = ProtocolName.PostRecv; web_Manager _webMgr = web_Manager.Getsingleton; _webMgr.Que_NetData.Enqueue(_net); _webMgr.Send_WebProtocol(); }