Esempio n. 1
0
    private static void SendSuccessPacket(ChallengeManager.eCHALLENGECODE type)
    {
        GS_RECOMMEND_CHALLENGE_CLEAR_REQ gS_RECOMMEND_CHALLENGE_CLEAR_REQ = new GS_RECOMMEND_CHALLENGE_CLEAR_REQ();

        gS_RECOMMEND_CHALLENGE_CLEAR_REQ.i32RecommendChallengeUnique = (int)type;
        SendPacket.GetInstance().SendObject(eGAME_PACKET_ID.GS_RECOMMEND_CHALLENGE_CLEAR_REQ, gS_RECOMMEND_CHALLENGE_CLEAR_REQ);
    }
Esempio n. 2
0
 public void GetEquipChallengeStrKey(ChallengeManager.eCHALLENGECODE type, out string titleKey1, out string titleKey2)
 {
     titleKey1 = string.Empty;
     titleKey2 = string.Empty;
     if (this.m_kChallengeEquip.ContainsKey((short)type))
     {
         ChallengeEquipTable challengeEquipTable = this.m_kChallengeEquip[(short)type];
         titleKey1 = challengeEquipTable.m_LabelText1;
         titleKey2 = challengeEquipTable.m_LabelText2;
     }
 }
Esempio n. 3
0
    public void SetData(ChallengeManager.eCHALLENGECODE type)
    {
        string  str     = string.Format("{0}", "UI/Item/fx_direct_weapon" + NrTSingleton <UIDataManager> .Instance.AddFilePath);
        WWWItem wWWItem = Holder.TryGetOrCreateBundle(str + Option.extAsset, NkBundleCallBack.UIBundleStackName);

        wWWItem.SetItemType(ItemType.USER_ASSETB);
        wWWItem.SetCallback(new PostProcPerItem(this.EquipItem), null);
        TsImmortal.bundleService.RequestDownloadCoroutine(wWWItem, DownGroup.RUNTIME, true);
        string empty  = string.Empty;
        string empty2 = string.Empty;

        NrTSingleton <ChallengeManager> .Instance.GetEquipChallengeStrKey(type, out empty, out empty2);

        this.m_Title1.Text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface(empty);

        this.m_Title2.Text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface(empty2);
    }