示例#1
0
        public override void Save(SaveGameData p_data)
        {
            base.Save(p_data);
            p_data.Set <EPartyBuffs>("PartyBuff", m_partyBuff);
            p_data.Set <ERechargerSpecial>("Special", m_special);
            p_data.Set <ERechargerType>("RechargerType", m_rechargerType);
            SaveGameData saveGameData = new SaveGameData("LastActivation");

            m_lastActivationTime.Save(saveGameData);
            p_data.Set <SaveGameData>(saveGameData.ID, saveGameData);
        }
示例#2
0
        public void Save(SaveGameData p_data)
        {
            p_data.Set <Int32>("ItemCount", m_items.Count);
            for (Int32 i = 0; i < m_items.Count; i++)
            {
                p_data.Set <Int32>("Type" + i, (Int32)m_items[i].GetItemType());
                SaveGameData saveGameData = new SaveGameData("Item" + i);
                m_items[i].Save(saveGameData);
                p_data.Set <SaveGameData>(saveGameData.ID, saveGameData);
            }
            SaveGameData saveGameData2 = new SaveGameData("UpdateTime");

            m_updateTime.Save(saveGameData2);
            p_data.Set <SaveGameData>(saveGameData2.ID, saveGameData2);
            p_data.Set <Boolean>("InitialItemUpdateDone", m_initialItemUpdateDone);
        }
示例#3
0
 public void Save(SaveGameData p_data)
 {
     m_time.Save(p_data);
 }