|
Elin Decompiled Documentation EA 23.312 Nightly Patch 4
|
Public Types | |
| enum | SpawnType { Item , Block , Cassette , Currency , Category , Filter , Tag , Letter , Map , Perfume , Plan , Potion , Recipe , RedBook , Rod , Rune , RuneFree , Scroll , Skill , Spell , Usuihon } |
Public Member Functions | |
| void | OnThingCreated (Thing thing) |
| Thing | Create (int createLv=-1) |
| 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 CustomThingContent | CreateFromRow (SourceThing.Row r, ModPackage mod=null) |
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 | |
| BlessedState | blessedState |
| string | id = "" |
| IDTLevel | identifyLevel |
| int | lv = -1 |
| Dictionary< string, int > | mapInt = new Dictionary<string, int>() |
| Dictionary< string, string > | mapStr = new Dictionary<string, string>() |
| string | material = "" |
| bool | noCopy |
| bool | noRandomSocket |
| int | num = 1 |
| Rarity | rarity |
| bool | restock = true |
| List< string > | sockets = new List<string>() |
| SpawnType | type |
| string | priceCalc = "" |
Properties | |
| override string | SourceType [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] |
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 CustomThingContent.cs.
| Enumerator | |
|---|---|
| Item | |
| Block | |
| Cassette | |
| Currency | |
| Category | |
| Filter | |
| Tag | |
| Letter | |
| Map | |
| Perfume | |
| Plan | |
| Potion | |
| Recipe | |
| RedBook | |
| Rod | |
| Rune | |
| RuneFree | |
| Scroll | |
| Skill | |
| Spell | |
| Usuihon | |
Definition at line 11 of file CustomThingContent.cs.
|
inline |
Definition at line 201 of file CustomThingContent.cs.
References blessedState, SourceManager.blocks, EClass.core, ThingGen.Create(), ThingGen.CreateBlock(), ThingGen.CreateCassette(), ThingGen.CreateCurrency(), ThingGen.CreateFromCategory(), ThingGen.CreateFromFilter(), ThingGen.CreateFromTag(), ThingGen.CreateLetter(), ThingGen.CreateMap(), ThingGen.CreatePerfume(), ThingGen.CreatePlan(), ThingGen.CreatePotion(), ThingGen.CreateRecipe(), ThingGen.CreateRedBook(), ThingGen.CreateRod(), ThingGen.CreateRune(), ThingGen.CreateScroll(), ThingGen.CreateSkillbook(), ThingGen.CreateSpellbook(), ReligionManager.dictAll, CoreRef.dictBGM, SourceManager.elements, SourceElement.fuzzyAlias, EClass.game, TileRow.id, identifyLevel, lv, material, SourceManager.materials, num, priceCalc, rarity, Core.refs, Game.religions, restock, Card.SetBlessedState(), Card.SetBool(), Card.SetNum(), CardBlueprint.SetRarity(), Card.SetStr(), EClass.sources, and type.
Referenced by CustomMerchantStock.Generate().
|
inlinestatic |
Definition at line 73 of file CustomThingContent.cs.
References CustomContent.ContentId, CustomSourceContent.GetParams(), item, mapInt, mapStr, CustomContent.Owner, sockets, and CustomSourceContent.SourceId.
Referenced by ModPackage.GenerateCustomContentProfiles().
|
inline |
Definition at line 122 of file CustomThingContent.cs.
References BaseCore.actionsNextFrame, EClass.core, SourceManager.elements, Card.GetBool(), Card.id, item, mapInt, mapStr, noCopy, noRandomSocket, num, rarity, EClass.rnd(), Card.SetBool(), Card.SetStr(), sockets, and EClass.sources.
|
inline |
Definition at line 312 of file CustomThingContent.cs.
| BlessedState CustomThingContent.blessedState |
Definition at line 37 of file CustomThingContent.cs.
Referenced by Create().
| string CustomThingContent.id = "" |
Definition at line 39 of file CustomThingContent.cs.
| IDTLevel CustomThingContent.identifyLevel |
Definition at line 42 of file CustomThingContent.cs.
Referenced by Create().
| int CustomThingContent.lv = -1 |
Definition at line 44 of file CustomThingContent.cs.
Referenced by Create().
| Dictionary<string, int> CustomThingContent.mapInt = new Dictionary<string, int>() |
Definition at line 46 of file CustomThingContent.cs.
Referenced by CreateFromRow(), OnThingCreated(), and ToString().
| Dictionary<string, string> CustomThingContent.mapStr = new Dictionary<string, string>() |
Definition at line 48 of file CustomThingContent.cs.
Referenced by CreateFromRow(), OnThingCreated(), and ToString().
| string CustomThingContent.material = "" |
Definition at line 50 of file CustomThingContent.cs.
Referenced by Create().
| bool CustomThingContent.noCopy |
Definition at line 52 of file CustomThingContent.cs.
Referenced by OnThingCreated().
| bool CustomThingContent.noRandomSocket |
Definition at line 54 of file CustomThingContent.cs.
Referenced by OnThingCreated().
| int CustomThingContent.num = 1 |
Definition at line 56 of file CustomThingContent.cs.
Referenced by Create(), and OnThingCreated().
| string CustomThingContent.priceCalc = "" |
Definition at line 69 of file CustomThingContent.cs.
Referenced by Create().
| Rarity CustomThingContent.rarity |
Definition at line 59 of file CustomThingContent.cs.
Referenced by Create(), and OnThingCreated().
| bool CustomThingContent.restock = true |
Definition at line 62 of file CustomThingContent.cs.
Referenced by Create().
| List<string> CustomThingContent.sockets = new List<string>() |
Definition at line 64 of file CustomThingContent.cs.
Referenced by CreateFromRow(), OnThingCreated(), and ToString().
| SpawnType CustomThingContent.type |
Definition at line 67 of file CustomThingContent.cs.
Referenced by Create().
|
get |
Definition at line 71 of file CustomThingContent.cs.