Пример #1
0
    /// <summary>
    /// XML 데이터 초기화
    /// </summary>
    public void XMLDataInit()
    {
        myData.manage.m_nDateTimeMinute = -1;
        myData.SetMyPvPInfo("", 1, 42521, 25, 4, 3);
        myData.SetMyInfo(999999, 512, 2014, 4, 10, 0);

        myData.SetPlayerStat(1, 0, 200, 0, 0, 500, 10, 0, 0, 5);

        for (int i = 0; i < m_pStringStore_Src[1].strings.Length; i++)
        {
            myData.manage.m_stGame.m_bSoliderChatCheck[i] = false;
        }

        myData.manage.m_stInven.m_nDBInvenCnt         = 0;
        myData.manage.m_stInven.m_nDBInvenScrollIndex = 20;
        JADBManager.I.SetAddInven_Item(1, 0, 20, 00, 048, 1, 0, 1, true);
        JADBManager.I.SetAddInven_Item(1, 0, 00, 09, 022, 1, 0, 1, true);

        JADBManager.I.SetAddInven_Item(1, 0, 00, 00, 700, 1, 0, 1, true);
        JADBManager.I.SetAddInven_Item(1, 0, 00, 00, 800, 5, 0, 1, true);
        JADBManager.I.SetAddInven_Item(1, 0, 00, 00, 900, 10, 0, 1, true);

        JADBManager.I.SetAddInven_UseItem(3, 0, 0010, 101, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 100, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 101, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 102, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 103, 1, 0, true, false);

        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 200, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 201, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 202, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 203, 1, 0, true, false);

        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 300, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 301, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 302, 1, 0, true, false);
        //JADBManager.I.SetAddInven_UseItem(3, 0, 0050, 303, 1, 0, true, false);


        JADBManager.I.SetMyItemSlot(E_JA_MYITEM_SLOT.E_WEAPON_ONE, 1, 0, 00, 00, 001, 1, 0, 1, true);
        JADBManager.I.SetMyItemSlot(E_JA_MYITEM_SLOT.E_WEAPON_TWO, 1, 0, 00, 00, 002, 1, 0, 1, true);
        JADBManager.I.SetMyItemSlot(E_JA_MYITEM_SLOT.E_DEFEND, 1, 0, 00, 24, 801, 1, 0, 1, true);
        JADBManager.I.SetMyItemSlot(E_JA_MYITEM_SLOT.E_SHOES, 1, 0, 00, 25, 801, 1, 0, 1, true);
    }