void cbShopBuy(UnityGMClient.EShopType type, Int32 id, Int32 num, UnityGMClient.EShopSystemResult result) { List <Int32> ids = new List <Int32>(); ids.Add(id); List <Int32> nums = new List <Int32>(); nums.Add(num); resultToString(type, ids, nums, 0, result); }
void resultToString(UnityGMClient.EShopType type, List <Int32> ids, List <Int32> nums, UInt64 refreshTime, UnityGMClient.EShopSystemResult result) { textBoxOutput.Clear(); textBoxOutput.Text = type.ToString() + "\r\n"; for (Int32 i = 0; i < ids.Count(); i++) { textBoxOutput.Text += ids[i].ToString() + ";"; textBoxOutput.Text += nums[i].ToString() + "\r\n"; } textBoxOutput.Text += refreshTime.ToString() + "\r\n"; textBoxOutput.Text += result.ToString(); }
void cbShopBuyResult(UnityGMClient.EShopType type, Int32 id, Int32 num, UnityGMClient.EShopSystemResult result) { string lg = "result:" + result.ToString(); Log(lg); }
void cbGM2GCAckShopOpen(UnityGMClient.EShopType type, List <UnityGMClient.ShopSystemItemInfo> itemInfo, UInt64 refreshTime) { //resultToString(type, ids, nums, refreshTime, UnityGMClient.EShopSystemResult.ESHOPSYSTEMRESULT_SUCCESS); }
void cbPaidRefresh(UnityGMClient.EShopType type, List <Int32> ids, List <Int32> nums, UnityGMClient.EShopSystemResult result) { resultToString(type, ids, nums, 0, result); }
void cbShopRefresh(UnityGMClient.EShopType type, List <Int32> ids, List <Int32> nums, UnityGMClient.EShopSystemResult result, UInt64 refreshTime) { resultToString(type, ids, nums, refreshTime, result); }