/// <summary> /// 게스트유저에서 페이스북 유저로 전환되었다.. 기존 데이터 정리 /// </summary> public void ResetReConnect() { SaleType = eSaleType.normal; _PKLogin = null; _PKUserInfo = null; _PKGamesInfo = null; _PKGiftsCount = null; _PKListGifts = null; _PKAppFriends = null; _PKSendGiftChallengeItems = null; _PKInvitChallengeCheck = null; _PKInvitChallengeStatus = null; // coins , deal _PKCheckDeal = null; _PKGetPurchaseItems = null; _PKGetUserPromotionList = null; // collect bounus _PKCollectBonus = null; _PKBonusInfo = null; // pig bank //_PKPurchaseVault = null; //_PKVaultInfo = null; //_PKGetVaultShop = null; // News _PKNews = null; oldUserLevel = 0; }
/// <summary> /// Sets the pk check deal. /// </summary> /// <param name="msg">The MSG.</param> public void SetPKCheckDeal(string msg) { _PKCheckDeal = JsonConvert.DeserializeObject <PK.CheckDeal.RECEIVE>(msg); //if (onUpdateCheckDeal != null) onUpdateCheckDeal(); Debug.Log("========================================================="); Debug.Log("RQCheckDeal => request: " + _PKCheckDeal.data.request + ", remaining: " + _PKCheckDeal.data.remaining + ", deal_kind: " + _PKCheckDeal.data.deal_kind + ", sale_type: " + _PKCheckDeal.data.sale_type); Debug.Log("========================================================="); #if UNITY_EDITOR // 결재 테스트 ( 강제 세팅 ) //_PKCheckDeal.data.deal_kind = eDealKind.first.ToString(); #endif }