/
DramalordSafeableTypesDefiner.cs
58 lines (54 loc) · 2.77 KB
/
DramalordSafeableTypesDefiner.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
using Dramalord.Data;
using Dramalord.Quests;
using System.Collections.Generic;
using TaleWorlds.CampaignSystem;
using TaleWorlds.SaveSystem;
namespace Dramalord
{
internal class DramalordSafeableTypesDefiner : SaveableTypeDefiner
{
public DramalordSafeableTypesDefiner() : base(26051980)
{
}
protected override void DefineClassTypes()
{
AddClassDefinition(typeof(HeroTuple), 1);
AddClassDefinition(typeof(HeroInfoData), 2);
AddClassDefinition(typeof(HeroMemoryData), 3);
AddClassDefinition(typeof(HeroOffspringData), 4);
AddClassDefinition(typeof(EncyclopediaLogStartAffair), 5);
AddClassDefinition(typeof(EncyclopediaLogBreakup), 6);
AddClassDefinition(typeof(EncyclopediaLogDivorce), 8);
AddClassDefinition(typeof(EncyclopediaLogPutChildToOrphanage), 9);
AddClassDefinition(typeof(EncyclopediaLogKilledWhenCaught), 10);
AddClassDefinition(typeof(EncyclopediaLogJoinClan), 11);
AddClassDefinition(typeof(EncyclopediaLogKilledWhenPregnant), 12);
AddClassDefinition(typeof(LogIntercourse), 13);
AddClassDefinition(typeof(EncyclopediaLogConceived), 14);
AddClassDefinition(typeof(LogFlirt), 15);
AddClassDefinition(typeof(LogAffairMeeting), 16);
AddClassDefinition(typeof(EncyclopediaLogAdopted), 17);
AddClassDefinition(typeof(EncyclopediaLogBirth), 18);
AddClassDefinition(typeof(EncyclopediaLogLeaveClan), 19);
AddClassDefinition(typeof(LogWitnessFlirt), 20);
AddClassDefinition(typeof(LogWitnessDate), 21);
AddClassDefinition(typeof(LogWitnessIntercourse), 22);
AddClassDefinition(typeof(LogWitnessPregnancy), 23);
AddClassDefinition(typeof(LogWitnessBastard), 24);
AddClassDefinition(typeof(EncyclopediaLogKilledWhenBornBastard), 25);
AddClassDefinition(typeof(LogUsedToy), 26);
AddClassDefinition(typeof(EncyclopediaLogKilledSuicide), 27);
AddClassDefinition(typeof(EncyclopediaLogClanLeftKingdom), 28);
AddClassDefinition(typeof(EncyclopediaLogClanJoinedKingdom), 29);
AddClassDefinition(typeof(VisitLoverQuest), 30);
}
protected override void DefineContainerDefinitions()
{
ConstructContainerDefinition(typeof(Dictionary<Hero, HeroInfoData>));
ConstructContainerDefinition(typeof(Dictionary<HeroTuple, HeroMemoryData>));
ConstructContainerDefinition(typeof(Dictionary<Hero, HeroOffspringData>));
ConstructContainerDefinition(typeof(List<Hero>));
ConstructContainerDefinition(typeof(Dictionary<Hero, VisitLoverQuest>));
}
}
}