public PersistedCharacterData(CharacterType characterType) { CharacterType = characterType; SchemaVersion = new SchemaVersion <CharacterSchemaChange>(); CharacterComponent = new CharacterComponent(); ExperienceComponent = new ExperienceComponent(); }
public PersistedAccountData() { SchemaVersion = new SchemaVersion <AccountSchemaChange>(); AccountComponent = new AccountComponent(); AdminComponent = new AdminComponent(); BankComponent = new BankComponent(new List <CurrencyData>()); ExperienceComponent = new ExperienceComponent(); ExperienceComponent.Level = 0; InventoryComponent = new InventoryComponent(); SocialComponent = new SocialComponent(); CharacterData = new Dictionary <CharacterType, PersistedCharacterData>(); AddedMatchData = new List <PersistedCharacterMatchData>(); QuestComponent = new QuestComponent(); }