Elin Decompiled Documentation EA 23.312 Nightly Patch 4
Loading...
Searching...
No Matches
CustomSourceContent Class Reference
Inheritance diagram for CustomSourceContent:
CustomContent EClass CustomCharaContent CustomElementContent CustomMaterialContent CustomStatContent CustomThingContent CustomZoneContent

Static Public Member Functions

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)
 

Static Public Attributes

static string action
 
static string string spec
 
- Static Public Attributes inherited from EClass
static Core core
 

Properties

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

- Public Member Functions inherited from CustomContent
virtual void OnGameLoad (GameIOContext context)
 
virtual void OnGameSave (GameIOContext context)
 
override string ToString ()
 

Detailed Description

Definition at line 4 of file CustomSourceContent.cs.

Member Function Documentation

◆ GetParams()

static string string string[] kv CustomSourceContent.GetParams ( string  tag)
inlinestatic

Definition at line 12 of file CustomSourceContent.cs.

13 {
14 if (tag.IsEmpty())
15 {
16 return (action: string.Empty, spec: string.Empty, kv: Array.Empty<string>());
17 }
18 int num = tag.IndexOf('(');
19 string text;
20 string text2;
21 if (num >= 0)
22 {
23 text = tag[..num];
24 text2 = tag.ExtractInBetween('(', ')');
25 }
26 else
27 {
28 text = tag.Split('_')[0];
29 text2 = tag[text.Length..].TrimStart('_');
30 }
31 string[] item = text2.Split('=');
32 return (action: text, spec: text2, kv: item);
33 }
static string string spec

Referenced by CustomCharaContent.CreateFromRow(), CustomElementContent.CreateFromRow(), CustomThingContent.CreateFromRow(), CustomZoneContent.CreateFromRow(), and SourceMaterial.Row.Init().

Member Data Documentation

◆ action

string CustomSourceContent.action
static

Definition at line 12 of file CustomSourceContent.cs.

◆ spec

string string CustomSourceContent.spec
static

Definition at line 12 of file CustomSourceContent.cs.

Property Documentation

◆ SourceId

◆ SourceType

virtual string CustomSourceContent.SourceType
get

Definition at line 7 of file CustomSourceContent.cs.

7{ get; }

The documentation for this class was generated from the following file: