|
Elin Decompiled Documentation EA 23.312 Nightly Patch 4
|
Public Types | |
| enum | SpawnType { Common , Adventurer , Merchant , Unique } |
Public Member Functions | |
| void | OnCharaCreated (Chara chara) |
| override void | OnGameLoad (GameIOContext context) |
| override string | ToString () |
Public Member Functions inherited from CustomContent | |
| virtual void | OnGameLoad (GameIOContext context) |
| virtual void | OnGameSave (GameIOContext context) |
| override string | ToString () |
Static Public Member Functions | |
| static CustomCharaContent | CreateFromRow (SourceChara.Row r, ModPackage owner=null) |
| static SpawnType | GetSpawnTypeFromTrait (string trait) |
Static Public Member Functions inherited from CustomSourceContent | |
| static string string string[] kv | GetParams (string tag) |
Static Public Member Functions inherited from EClass | |
| static int | rndSeed (int a, int seed) |
| static int | rnd (long a) |
| static int | rnd (int a) |
| static int | curve (long _a, int start, int step, int rate=75) |
| static int | sqrt (int a) |
| static int | rndHalf (int a) |
| static float | rndf (float a) |
| static int | rndSqrt (int a) |
| static void | Wait (float a, Card c) |
| static void | Wait (float a, Point p) |
| static int | Bigger (int a, int b) |
| static int | Smaller (int a, int b) |
Public Attributes | |
| List< string > | equipments = new List<string>() |
| Dictionary< string, int > | mapInt = new Dictionary<string, int>() |
| Dictionary< string, string > | mapStr = new Dictionary<string, string>() |
| SpawnType | spawnType |
| List< string > | spawnZones = new List<string>() |
| List< string > | stocks = new List<string>() |
| List< string > | things = new List<string>() |
Properties | |
| override string | SourceType [get] |
| bool | IsAdventurer [get] |
Properties inherited from CustomSourceContent | |
| virtual string | SourceType [get] |
| string | SourceId [get, set] |
Properties inherited from CustomContent | |
| string | ContentId [get, protected set] |
| EMod | Owner [get, protected set] |
Properties inherited from EClass | |
| static Game | game [get] |
| static bool | AdvMode [get] |
| static Player | player [get] |
| static Chara | pc [get] |
| static UI | ui [get] |
| static Map | _map [get] |
| static Zone | _zone [get] |
| static FactionBranch | Branch [get] |
| static FactionBranch | BranchOrHomeBranch [get] |
| static Faction | Home [get] |
| static Faction | Wilds [get] |
| static Scene | scene [get] |
| static BaseGameScreen | screen [get] |
| static GameSetting | setting [get] |
| static GameData | gamedata [get] |
| static ColorProfile | Colors [get] |
| static World | world [get] |
| static SourceManager | sources [get] |
| static SourceManager | editorSources [get] |
| static SoundManager | Sound [get] |
| static CoreDebug | debug [get] |
Static Private Attributes | |
| static readonly Dictionary< string, SpawnType > | _cachedSpawnTypes = new Dictionary<string, SpawnType>() |
Additional Inherited Members | |
Static Public Attributes inherited from CustomSourceContent | |
| static string | action |
| static string string | spec |
Static Public Attributes inherited from EClass | |
| static Core | core |
Definition at line 9 of file CustomCharaContent.cs.
| Enumerator | |
|---|---|
| Common | |
| Adventurer | |
| Merchant | |
| Unique | |
Definition at line 11 of file CustomCharaContent.cs.
|
inlinestatic |
Definition at line 39 of file CustomCharaContent.cs.
References CustomContent.ContentId, CustomBiographyContent.CreateFromId(), CustomMerchantStock.CreateFromId(), equipments, CustomSourceContent.GetParams(), GetSpawnTypeFromTrait(), mapInt, mapStr, CustomContent.Owner, CustomSourceContent.SourceId, spawnType, spawnZones, stocks, and things.
Referenced by ModPackage.GenerateCustomContentProfiles().
|
inlinestatic |
Definition at line 136 of file CustomCharaContent.cs.
References _cachedSpawnTypes, and spawnType.
Referenced by CreateFromRow().
|
inline |
Definition at line 175 of file CustomCharaContent.cs.
References SourceManager.cards, equipments, Card.GetBool(), Card.id, item, SourceCard.map, mapInt, mapStr, Card.SetBool(), Card.SetStr(), EClass.sources, and things.
|
inlinevirtual |
Reimplemented from CustomContent.
Definition at line 236 of file CustomCharaContent.cs.
References $, Game.cards, CharaGen.Create(), Debug, EClass.game, CardManager.globalCharas, Card.id, IsAdventurer, CardManager.listAdv, Chara.MoveZone(), Chara.SetHomeZone(), spawnZones, and Zone.ZoneFullName.
|
inline |
Definition at line 318 of file CustomCharaContent.cs.
References $, equipments, mapInt, mapStr, stocks, and things.
|
staticprivate |
Definition at line 19 of file CustomCharaContent.cs.
Referenced by GetSpawnTypeFromTrait().
| List<string> CustomCharaContent.equipments = new List<string>() |
Definition at line 21 of file CustomCharaContent.cs.
Referenced by CreateFromRow(), OnCharaCreated(), and ToString().
| Dictionary<string, int> CustomCharaContent.mapInt = new Dictionary<string, int>() |
Definition at line 23 of file CustomCharaContent.cs.
Referenced by CreateFromRow(), OnCharaCreated(), and ToString().
| Dictionary<string, string> CustomCharaContent.mapStr = new Dictionary<string, string>() |
Definition at line 25 of file CustomCharaContent.cs.
Referenced by CreateFromRow(), OnCharaCreated(), and ToString().
| SpawnType CustomCharaContent.spawnType |
Definition at line 27 of file CustomCharaContent.cs.
Referenced by CreateFromRow(), and GetSpawnTypeFromTrait().
| List<string> CustomCharaContent.spawnZones = new List<string>() |
Definition at line 29 of file CustomCharaContent.cs.
Referenced by CreateFromRow(), and OnGameLoad().
| List<string> CustomCharaContent.stocks = new List<string>() |
Definition at line 31 of file CustomCharaContent.cs.
Referenced by CreateFromRow(), and ToString().
| List<string> CustomCharaContent.things = new List<string>() |
Definition at line 33 of file CustomCharaContent.cs.
Referenced by CreateFromRow(), OnCharaCreated(), and ToString().
|
get |
Definition at line 37 of file CustomCharaContent.cs.
Referenced by OnGameLoad().
|
get |
Definition at line 35 of file CustomCharaContent.cs.