Example #1
0
    public string GetGateToolTip(int nGateIdx)
    {
        GATE_INFO gateInfo = NrTSingleton <NrBaseTableManager> .Instance.GetGateInfo(nGateIdx.ToString());

        if (gateInfo == null)
        {
            return(string.Empty);
        }
        MAP_INFO mapInfo = NrTSingleton <NrBaseTableManager> .Instance.GetMapInfo(gateInfo.DST_MAP_IDX.ToString());

        if (mapInfo == null)
        {
            return(string.Empty);
        }
        return(NrTSingleton <NrTextMgr> .Instance.GetTextFromMap(mapInfo.TEXTKEY));
    }
Example #2
0
    public void MakeMapLink()
    {
        ICollection mapInfo_Col = NrTSingleton <NrBaseTableManager> .Instance.GetMapInfo_Col();

        foreach (MAP_INFO mAP_INFO in mapInfo_Col)
        {
            Map        map    = new Map();
            Map.Record record = new Map.Record(mAP_INFO.MAP_INDEX);
            map.SetRecord(record);
            GATE_INFO[] gateInfo = mAP_INFO.GetGateInfo();
            GATE_INFO[] array    = gateInfo;
            for (int i = 0; i < array.Length; i++)
            {
                GATE_INFO gATE_INFO = array[i];
                map.InsertLinkMapUnique(gATE_INFO.DST_MAP_IDX);
                GateData gate = new GateData(gATE_INFO.DST_MAP_IDX, new Vector2(gATE_INFO.SRC_POSX, gATE_INFO.SRC_POSZ));
                this.m_kGateMgr.Add(mAP_INFO.MAP_INDEX, gate);
            }
            this.AddMap(map);
        }
    }
Example #3
0
    private void OnTriggerEnter(Collider kCollider)
    {
        if (0 >= this.nGateIndex)
        {
            return;
        }
        if (NrTSingleton <NkClientLogic> .Instance.GetWarpGateIndex() == this.nGateIndex)
        {
            return;
        }
        NrCharInfoAdaptor component = kCollider.gameObject.GetComponent <NrCharInfoAdaptor>();

        if (null == component)
        {
            return;
        }
        if (component.CharInfo.Get_Char_ID() != 1)
        {
            return;
        }
        GATE_INFO gateInfo = NrTSingleton <NrBaseTableManager> .Instance.GetGateInfo(this.nGateIndex.ToString());

        if (gateInfo == null)
        {
            return;
        }
        if (gateInfo.SRC_MAP_IDX != NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo.m_kCharMapInfo.m_nMapIndex)
        {
            return;
        }
        if (!NrTSingleton <NkClientLogic> .Instance.ShowDownLoadUI(gateInfo.GATE_IDX, 0))
        {
            return;
        }
        GS_WARP_REQ gS_WARP_REQ = new GS_WARP_REQ();

        gS_WARP_REQ.nGateIndex = this.nGateIndex;
        SendPacket.GetInstance().SendObject(eGAME_PACKET_ID.GS_WARP_REQ, gS_WARP_REQ);
        NrTSingleton <NkClientLogic> .Instance.CharWarpRequest(this.nGateIndex);
    }
Example #4
0
    public bool SetData(NrTableData kData)
    {
        NrTableData.eResourceType typeIndex = kData.GetTypeIndex();
        int    num      = (int)typeIndex;
        string kDataKey = string.Empty;

        switch (typeIndex)
        {
        case NrTableData.eResourceType.eRT_WEAPONTYPE_INFO:
        {
            WEAPONTYPE_INFO wEAPONTYPE_INFO = kData as WEAPONTYPE_INFO;
            int             weaponType      = NrTSingleton <NkWeaponTypeInfoManager> .Instance.GetWeaponType(wEAPONTYPE_INFO.WEAPONCODE);

            kDataKey = weaponType.ToString();
            NrTSingleton <NkWeaponTypeInfoManager> .Instance.SetWeaponTypeInfo(weaponType, ref wEAPONTYPE_INFO);

            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_ATTACKINFO:
        {
            CHARKIND_ATTACKINFO cHARKIND_ATTACKINFO = kData as CHARKIND_ATTACKINFO;
            cHARKIND_ATTACKINFO.nWeaponType = NrTSingleton <NkWeaponTypeInfoManager> .Instance.GetWeaponType(cHARKIND_ATTACKINFO.WEAPONCODE);

            kDataKey = cHARKIND_ATTACKINFO.ATTACKTYPE.ToString();
            NrTSingleton <NrCharKindInfoManager> .Instance.SetAttackTypeCodeInfo(cHARKIND_ATTACKINFO.ATTACKTYPE, cHARKIND_ATTACKINFO.ATTACKCODE);

            NrCharDataCodeInfo charDataCodeInfo = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharDataCodeInfo();

            if (charDataCodeInfo != null)
            {
                cHARKIND_ATTACKINFO.nJobType = charDataCodeInfo.GetCharJobType(cHARKIND_ATTACKINFO.JOBTYPE);
            }
            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_CLASSINFO:
        {
            CHARKIND_CLASSINFO cHARKIND_CLASSINFO = kData as CHARKIND_CLASSINFO;
            long num2       = 1L;
            int  cLASSINDEX = cHARKIND_CLASSINFO.CLASSINDEX;
            cHARKIND_CLASSINFO.CLASSTYPE = num2 << cLASSINDEX - 1;
            kDataKey = cHARKIND_CLASSINFO.CLASSTYPE.ToString();
            NrTSingleton <NrCharKindInfoManager> .Instance.SetClassTypeCodeInfo(cHARKIND_CLASSINFO.CLASSCODE, cHARKIND_CLASSINFO.CLASSTYPE);

            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_INFO:
        {
            CHARKIND_INFO cHARKIND_INFO = kData as CHARKIND_INFO;
            kDataKey = cHARKIND_INFO.CHARKIND.ToString();
            cHARKIND_INFO.nClassType = NrTSingleton <NrCharKindInfoManager> .Instance.GetClassType(cHARKIND_INFO.CLASSTYPE);

            cHARKIND_INFO.nAttackType = NrTSingleton <NrCharKindInfoManager> .Instance.GetAttackType(cHARKIND_INFO.ATTACKTYPE);

            cHARKIND_INFO.nATB = NrTSingleton <NkATB_Manager> .Instance.ParseCharATB(cHARKIND_INFO.ATB);

            NrTSingleton <NrCharKindInfoManager> .Instance.SetCharKindInfo(ref cHARKIND_INFO);

            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_STATINFO:
        {
            CHARKIND_STATINFO cHARKIND_STATINFO = kData as CHARKIND_STATINFO;
            int charKindByCode = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(cHARKIND_STATINFO.CharCode);

            kDataKey = charKindByCode.ToString();
            NrTSingleton <NrCharKindInfoManager> .Instance.SetStatInfo(charKindByCode, ref cHARKIND_STATINFO);

            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_MONSTERINFO:
        {
            CHARKIND_MONSTERINFO cHARKIND_MONSTERINFO = kData as CHARKIND_MONSTERINFO;
            int charKindByCode2 = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(cHARKIND_MONSTERINFO.CharCode);

            kDataKey = charKindByCode2.ToString();
            NrTSingleton <NrCharKindInfoManager> .Instance.SetMonsterInfo(charKindByCode2, ref cHARKIND_MONSTERINFO);

            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_MONSTATINFO:
        {
            CHARKIND_MONSTATINFO cHARKIND_MONSTATINFO = kData as CHARKIND_MONSTATINFO;
            kDataKey = NkUtil.MakeLong(cHARKIND_MONSTATINFO.MonType, (long)cHARKIND_MONSTATINFO.LEVEL).ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_NPCINFO:
        {
            CHARKIND_NPCINFO cHARKIND_NPCINFO = kData as CHARKIND_NPCINFO;
            int charKindByCode3 = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(cHARKIND_NPCINFO.CHARCODE);

            kDataKey = charKindByCode3.ToString();
            NrTSingleton <NrCharKindInfoManager> .Instance.SetNPCInfo(charKindByCode3, ref cHARKIND_NPCINFO);

            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_ANIINFO:
        {
            CHARKIND_ANIINFO cHARKIND_ANIINFO = kData as CHARKIND_ANIINFO;
            kDataKey = cHARKIND_ANIINFO.BUNDLENAME.ToString();
            NrTSingleton <NrCharAniInfoManager> .Instance.SetAniInfo(ref cHARKIND_ANIINFO);

            NrTSingleton <NrCharKindInfoManager> .Instance.SetAniInfo(ref cHARKIND_ANIINFO);

            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_LEGENDINFO:
        {
            CHARKIND_LEGENDINFO cHARKIND_LEGENDINFO = kData as CHARKIND_LEGENDINFO;
            int charKindByCode4 = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(cHARKIND_LEGENDINFO.CharCode);

            cHARKIND_LEGENDINFO.i32Element_LegendCharkind = charKindByCode4;
            for (int i = 0; i < 5; i++)
            {
                int charKindByCode5 = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(cHARKIND_LEGENDINFO.i32Base_LegendCharCode[i]);

                cHARKIND_LEGENDINFO.i32Base_CharKind[i] = charKindByCode4;
            }
            kDataKey = charKindByCode4.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_SOLDIERINFO:
        {
            CHARKIND_SOLDIERINFO cHARKIND_SOLDIERINFO = kData as CHARKIND_SOLDIERINFO;
            for (int j = 0; j < 5; j++)
            {
                int charKindByCode6 = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(cHARKIND_SOLDIERINFO.kElement_CharData[j].Element_CharCode);

                cHARKIND_SOLDIERINFO.kElement_CharData[j].SetChar(charKindByCode6);
            }
            int charKindByCode7 = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(cHARKIND_SOLDIERINFO.CharCode);

            cHARKIND_SOLDIERINFO.i32BaseCharKind = charKindByCode7;
            kDataKey = charKindByCode7.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_CHARKIND_SOLGRADEINFO:
        {
            BASE_SOLGRADEINFO bASE_SOLGRADEINFO = kData as BASE_SOLGRADEINFO;
            int charKindByCode8 = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(bASE_SOLGRADEINFO.CharCode);

            kDataKey = charKindByCode8.ToString();
            NrTSingleton <NrCharKindInfoManager> .Instance.SetSolGradeInfo(charKindByCode8, ref bASE_SOLGRADEINFO);

            break;
        }

        case NrTableData.eResourceType.eRT_ITEMTYPE_INFO:
        {
            ITEMTYPE_INFO iTEMTYPE_INFO = kData as ITEMTYPE_INFO;
            iTEMTYPE_INFO.OPTION1 = NrTSingleton <ItemManager> .Instance.GetItemOption(iTEMTYPE_INFO.szOption1);

            iTEMTYPE_INFO.OPTION2 = NrTSingleton <ItemManager> .Instance.GetItemOption(iTEMTYPE_INFO.szOption2);

            iTEMTYPE_INFO.ITEMPART = NrTSingleton <ItemManager> .Instance.GetItemPart(iTEMTYPE_INFO.szItemPart);

            iTEMTYPE_INFO.ITEMTYPE = NrTSingleton <ItemManager> .Instance.GetItemType(iTEMTYPE_INFO.ITEMTYPECODE);

            iTEMTYPE_INFO.ATB = NrTSingleton <NkATB_Manager> .Instance.ParseItemTypeATB(iTEMTYPE_INFO.szATB);

            iTEMTYPE_INFO.ATTACKTYPE = NrTSingleton <NrCharKindInfoManager> .Instance.GetAttackType(iTEMTYPE_INFO.szAttackTypeCode);

            CHARKIND_ATTACKINFO charAttackInfo = NrTSingleton <NrBaseTableManager> .Instance.GetCharAttackInfo(iTEMTYPE_INFO.ATTACKTYPE.ToString());

            if (charAttackInfo != null)
            {
                iTEMTYPE_INFO.WEAPONTYPE = charAttackInfo.nWeaponType;
            }
            else
            {
                iTEMTYPE_INFO.WEAPONTYPE = 0;
            }
            iTEMTYPE_INFO.EQUIPCLASSTYPE = NrTSingleton <NrCharKindInfoManager> .Instance.ParseClassTypeCode(iTEMTYPE_INFO.szClassTypeCode);

            kDataKey = iTEMTYPE_INFO.ITEMTYPE.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_QUEST_NPC_POS_INFO:
        {
            QUEST_NPC_POS_INFO qUEST_NPC_POS_INFO = kData as QUEST_NPC_POS_INFO;
            kDataKey = qUEST_NPC_POS_INFO.strUnique;
            break;
        }

        case NrTableData.eResourceType.eRT_ECO_TALK:
        {
            ECO_TALK eCO_TALK = kData as ECO_TALK;
            kDataKey = eCO_TALK.strCharCode;
            break;
        }

        case NrTableData.eResourceType.eRT_ECO:
        {
            ECO eCO = kData as ECO;
            kDataKey = eCO.GroupUnique.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_MAP_INFO:
        {
            MAP_INFO mAP_INFO = kData as MAP_INFO;
            mAP_INFO.MAP_ATB = NrTSingleton <NkATB_Manager> .Instance.ParseMapATB(mAP_INFO.strMapATB);

            ICollection gateInfo_Col = NrTSingleton <NrBaseTableManager> .Instance.GetGateInfo_Col();

            foreach (GATE_INFO gATE_INFO in gateInfo_Col)
            {
                if (mAP_INFO.MAP_INDEX == gATE_INFO.SRC_MAP_IDX)
                {
                    mAP_INFO.AddGateInfo(gATE_INFO);
                }
                if (mAP_INFO.MAP_INDEX == gATE_INFO.DST_MAP_IDX)
                {
                    mAP_INFO.AddDSTGateInfo(gATE_INFO);
                }
            }
            kDataKey = mAP_INFO.MAP_INDEX.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_MAP_UNIT:
        {
            MAP_UNIT mAP_UNIT = kData as MAP_UNIT;
            kDataKey = mAP_UNIT.MAP_UNIQUE.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_GATE_INFO:
        {
            GATE_INFO gATE_INFO2 = kData as GATE_INFO;
            kDataKey = gATE_INFO2.GATE_IDX.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_ITEM_ACCESSORY:
        {
            ITEM_ACCESSORY pkItem = kData as ITEM_ACCESSORY;
            NrTSingleton <ItemManager> .Instance.AddAccessory(pkItem);

            return(true);
        }

        case NrTableData.eResourceType.eRT_ITEM_ARMOR:
        {
            ITEM_ARMOR iTEM_ARMOR = kData as ITEM_ARMOR;
            NrTSingleton <ItemManager> .Instance.AddArmor(iTEM_ARMOR);

            kDataKey = iTEM_ARMOR.ITEMUNIQUE.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_ITEM_BOX:
        {
            ITEM_BOX pkItem2 = kData as ITEM_BOX;
            NrTSingleton <ItemManager> .Instance.AddBox(pkItem2);

            return(true);
        }

        case NrTableData.eResourceType.eRT_ITEM_MATERIAL:
        {
            ITEM_MATERIAL pkItem3 = kData as ITEM_MATERIAL;
            NrTSingleton <ItemManager> .Instance.AddMaterial(pkItem3);

            return(true);
        }

        case NrTableData.eResourceType.eRT_ITEM_QUEST:
        {
            ITEM_QUEST pkItem4 = kData as ITEM_QUEST;
            NrTSingleton <ItemManager> .Instance.AddQuest(pkItem4);

            return(true);
        }

        case NrTableData.eResourceType.eRT_ITEM_SECONDEQUIP:
        {
            ITEM_SECONDEQUIP pkItem5 = kData as ITEM_SECONDEQUIP;
            NrTSingleton <ItemManager> .Instance.AddSecondEquip(pkItem5);

            return(true);
        }

        case NrTableData.eResourceType.eRT_ITEM_SUPPLIES:
        {
            ITEM_SUPPLIES pkItem6 = kData as ITEM_SUPPLIES;
            NrTSingleton <ItemManager> .Instance.AddSupply(pkItem6);

            return(true);
        }

        case NrTableData.eResourceType.eRT_ITEM_WEAPON:
        {
            ITEM_WEAPON pkItem7 = kData as ITEM_WEAPON;
            NrTSingleton <ItemManager> .Instance.AddWeapon(pkItem7);

            return(true);
        }

        case NrTableData.eResourceType.eRT_INDUN_INFO:
        {
            INDUN_INFO iNDUN_INFO = kData as INDUN_INFO;
            iNDUN_INFO.m_eIndun_Type = INDUN_DEFINE.GetIndunType(iNDUN_INFO.strIndunType);
            iNDUN_INFO.m_nNpcCode    = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(iNDUN_INFO.strNpcCode);

            kDataKey = iNDUN_INFO.m_nIndunIDX.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_GAMEGUIDE:
        {
            TableData_GameGuideInfo tableData_GameGuideInfo = kData as TableData_GameGuideInfo;
            if (tableData_GameGuideInfo.gameGuideInfo.m_eType == GameGuideType.DEFAULT)
            {
                NrTSingleton <GameGuideManager> .Instance.AddDefaultGuid(tableData_GameGuideInfo.gameGuideInfo);
            }
            else
            {
                NrTSingleton <GameGuideManager> .Instance.AddGameGuide(tableData_GameGuideInfo.gameGuideInfo);
            }
            return(true);
        }

        case NrTableData.eResourceType.eRT_LOCALMAP_INFO:
        {
            LOCALMAP_INFO lOCALMAP_INFO = kData as LOCALMAP_INFO;
            kDataKey = lOCALMAP_INFO.LOCALMAP_IDX.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_WORLDMAP_INFO:
        {
            WORLDMAP_INFO wORLDMAP_INFO = kData as WORLDMAP_INFO;
            if (wORLDMAP_INFO.TEXTKEY != string.Empty)
            {
                wORLDMAP_INFO.WORLDMAP_NAME = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface(wORLDMAP_INFO.TEXTKEY);
            }
            kDataKey = wORLDMAP_INFO.WORLDMAP_IDX.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_ADVENTURE:
        {
            TableData_AdventureInfo tableData_AdventureInfo = kData as TableData_AdventureInfo;
            NrTSingleton <NkAdventureManager> .Instance.AddAdventure(tableData_AdventureInfo.adventure);

            return(true);
        }

        case NrTableData.eResourceType.eRT_SOLDIER_EVOLUTIONEXP:
        {
            Evolution_EXP evolution_EXP = kData as Evolution_EXP;
            kDataKey = (evolution_EXP.Grade - 1).ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_SOLDIER_TICKETINFO:
        {
            Ticket_Info ticket_Info = kData as Ticket_Info;
            kDataKey = (ticket_Info.Grade - 1).ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_CHARSOL_GUIDE:
        {
            SOL_GUIDE sOL_GUIDE = kData as SOL_GUIDE;
            kDataKey = sOL_GUIDE.m_i32CharKind.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_ITEM_REDUCE:
        {
            ItemReduceInfo itemReduceInfo = kData as ItemReduceInfo;
            kDataKey = itemReduceInfo.iGroupUnique.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_RECOMMEND_REWARD:
        {
            RECOMMEND_REWARD rECOMMEND_REWARD = kData as RECOMMEND_REWARD;
            kDataKey = rECOMMEND_REWARD.i8RecommendCount.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_SUPPORTER_REWARD:
        {
            SUPPORTER_REWARD sUPPORTER_REWARD = kData as SUPPORTER_REWARD;
            kDataKey = sUPPORTER_REWARD.i8SupporterLevel.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_GMHELPINFO:
        {
            GMHELP_INFO gMHELP_INFO = kData as GMHELP_INFO;
            kDataKey = gMHELP_INFO.m_bGMKind.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_SOLWAREHOUSE:
        {
            SolWarehouseInfo solWarehouseInfo = kData as SolWarehouseInfo;
            kDataKey = solWarehouseInfo.iWarehouseNumber.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_CHARSPEND:
        {
            charSpend charSpend = kData as charSpend;
            kDataKey = charSpend.iLevel.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_REINCARNATIONINFO:
        {
            ReincarnationInfo reincarnationInfo = kData as ReincarnationInfo;
            for (int k = 0; k < 6; k++)
            {
                reincarnationInfo.iCharKind[k] = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindByCode(reincarnationInfo.strText[k]);
            }
            kDataKey = reincarnationInfo.iType.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_ITEM_BOX_GROUP:
        {
            ITEM_BOX_GROUP_DATA pkItemBoxGroupData = kData as ITEM_BOX_GROUP_DATA;
            NrTSingleton <ItemManager> .Instance.AddBoxGroup(pkItemBoxGroupData);

            return(true);
        }

        case NrTableData.eResourceType.eRT_ITEM_TICKET:
        {
            ITEM_TICKET pkItem8 = kData as ITEM_TICKET;
            NrTSingleton <ItemManager> .Instance.AddTicket(pkItem8);

            return(true);
        }

        case NrTableData.eResourceType.eRT_AGIT_INFO:
        {
            AgitInfoData agitInfoData = kData as AgitInfoData;
            kDataKey = agitInfoData.i16Level.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_AGIT_NPC:
        {
            AgitNPCData agitNPCData = kData as AgitNPCData;
            kDataKey = agitNPCData.ui8NPCType.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_AGIT_MERCHNAT:
        {
            AgitMerchantData agitMerchantData = kData as AgitMerchantData;
            kDataKey = agitMerchantData.i16SellType.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_LEVELUPGUIDE:
        {
            LEVELUPGUIDE_INFO lEVELUPGUIDE_INFO = kData as LEVELUPGUIDE_INFO;
            for (int l = 0; l < lEVELUPGUIDE_INFO.explainList.Count; l++)
            {
                if (lEVELUPGUIDE_INFO.explainList[l] == "0")
                {
                    break;
                }
                AlarmManager.GetInstance().SetLevelupInfo(lEVELUPGUIDE_INFO.LEVEL, "1", lEVELUPGUIDE_INFO.explainList[l]);
            }
            break;
        }

        case NrTableData.eResourceType.eRT_MYTHRAIDINFO:
        {
            MYTHRAIDINFO_DATA mYTHRAIDINFO_DATA = kData as MYTHRAIDINFO_DATA;
            CHARKIND_INFO     baseCharKindInfo  = NrTSingleton <NrCharKindInfoManager> .Instance.GetBaseCharKindInfo(mYTHRAIDINFO_DATA.GetBossCode());

            if (baseCharKindInfo == null)
            {
                Debug.LogError("BossCode Wrong : " + mYTHRAIDINFO_DATA.GetBossCode());
            }
            else
            {
                mYTHRAIDINFO_DATA.nMainBossCharKind = baseCharKindInfo.CHARKIND;
                kDataKey = mYTHRAIDINFO_DATA.nRaidSeason.ToString() + mYTHRAIDINFO_DATA.nRaidType.ToString();
            }
            break;
        }

        case NrTableData.eResourceType.eRT_MYTHRAIDCLEARREWARD:
        {
            MYTHRAID_CLEAR_REWARD_INFO mYTHRAID_CLEAR_REWARD_INFO = kData as MYTHRAID_CLEAR_REWARD_INFO;
            kDataKey = MYTHRAID_CLEAR_REWARD_INFO.setDataKey(mYTHRAID_CLEAR_REWARD_INFO.CLEARMODE, mYTHRAID_CLEAR_REWARD_INFO.ROUND).ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_MYTHRAIDRANKREWARD:
            kDataKey = this.m_dicResourceInfo[num].Count.ToString();
            break;

        case NrTableData.eResourceType.eRT_MYTHRAIDGUARDIANANGEL:
        {
            MYTHRAID_GUARDIANANGEL_INFO mYTHRAID_GUARDIANANGEL_INFO = kData as MYTHRAID_GUARDIANANGEL_INFO;
            kDataKey = mYTHRAID_GUARDIANANGEL_INFO.UNIQUE.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_AUTOSELL:
        {
            AutoSell_info autoSell_info = kData as AutoSell_info;
            kDataKey = autoSell_info.i32SellNumber.ToString();
            break;
        }

        case NrTableData.eResourceType.eRT_ITEM_GROUP_SOL_TICKET:
        {
            GROUP_SOL_TICKET gROUP_SOL_TICKET = kData as GROUP_SOL_TICKET;
            if (kData != null)
            {
                NrTSingleton <ItemManager> .Instance.Add_GroupSolTicket(gROUP_SOL_TICKET.i64GroupUnique, gROUP_SOL_TICKET);
            }
            break;
        }

        case NrTableData.eResourceType.eRT_MYTH_EVOLUTION_SPEND:
        {
            MYTH_EVOLUTION mYTH_EVOLUTION = kData as MYTH_EVOLUTION;
            kDataKey = mYTH_EVOLUTION.m_bSeason.ToString();
            break;
        }
        }
        return(this.AddResourceInfo(num, kDataKey, kData));
    }
 public void AddDSTGateInfo(GATE_INFO pkGateInfo)
 {
     this.kDSTGateInfoList.Add(pkGateInfo);
 }