public void Load(SaveGameData p_data) { List <Int32> list = SaveGame.CreateArrayFromData <Int32>(p_data); if (list != null) { for (Int32 i = 0; i < list.Count; i++) { AddSpell((ECharacterSpell)list[i], false); } } }
public void Load(SaveGameData p_data) { List <Int32> list = SaveGame.CreateArrayFromData <Int32>(p_data); if (list != null) { for (Int32 i = 0; i < list.Count; i++) { AddSpell((ECharacterSpell)list[i], false); } } }