Elin Modding Docs Doc
|
Public Types | |
enum | NoteMode { Default , CharaMake , CharaMakeAttributes , Domain , Trait } |
Public Member Functions | |
void | ApplyElementMap (int uid, SourceValueType type, Dictionary< int, int > map, int lv, bool invert=false, bool applyFeat=false) |
void | ApplyMaterialElementMap (Thing t, bool invert=false) |
void | ImportElementMap (Dictionary< int, int > map) |
ElementContainer | ImportElementMap (int[] ints) |
void | ApplyPotential (int mode=0) |
int | Value (int ele) |
virtual int | ValueBonus (Element e) |
int | ValueWithoutLink (int ele) |
int | ValueWithoutLink (string alias) |
int | GetFeatRef (int ele, int idx=0) |
int | Exp (int ele) |
bool | Has (int ele) |
bool | Has (SourceElement.Row row) |
bool | Has (string alias) |
bool | HasBase (int ele) |
int | Base (int ele) |
void | Learn (int ele, int v=1) |
void | Train (int ele, int a=10) |
void | ModExp (int ele, int a, bool chain=false) |
virtual void | OnLearn (int ele) |
virtual void | OnTrain (int ele) |
virtual void | OnLevelUp (Element e, int lastValue) |
virtual void | OnLevelDown (Element e, int lastValue) |
Element | SetBase (string alias, int v, int potential=0) |
Element | SetBase (int id, int v, int potential=0) |
void | SetTo (int id, int v) |
void | Remove (int id) |
Element | ModBase (int ele, int v) |
virtual void | OnChangeValue () |
Element | ModPotential (int ele, int v) |
Element | ModTempPotential (int ele, int v, int threshMsg=0) |
virtual void | OnModTempPotential (Element e, int v, int threshMsg) |
int | GetSpellExp (Chara c, Element e, int costMod=100) |
Element | GetElement (string alias) |
Element | GetElement (int id) |
Element | CreateElement (int id) |
Element | GetOrCreateElement (Element ele) |
Element | GetOrCreateElement (string alias) |
Element | GetOrCreateElement (int id) |
void | SetParent (Card c) |
void | SetParent (ElementContainer newParent=null) |
List< Element > | ListElements (Func< Element, bool > shoudList=null, Comparison< Element > comparison=null) |
List< Element > | ListBestAttributes () |
List< Element > | ListBestSkills () |
List< Element > | ListGeneFeats () |
List< Element > | ListLearnable (Chara c) |
void | CopyTo (ElementContainer container) |
void | AddNote (UINote n, Func< Element, bool > isValid=null, Action onAdd=null, ElementContainer.NoteMode mode=ElementContainer.NoteMode.Default, bool addRaceFeat=false, Func< Element, string, string > funcText=null, Action< UINote, Element > onAddNote=null) |
void | AddNoteAll (UINote n) |
Static Public Member Functions | |
static int | GetSortVal (Element a) |
![]() | |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
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 | |
Dictionary< int, Element > | dict = new Dictionary<int, Element>() |
ElementContainer | parent |
List< int > | list |
Static Public Attributes | |
const int | sizeElement = 5 |
![]() | |
static Core | core |
Properties | |
virtual Card | Card [get] |
virtual Chara | Chara [get] |
virtual bool | IsMeleeWeapon [get] |
![]() | |
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] |
Definition at line 11 of file ElementContainer.cs.
enum ElementContainer.NoteMode |
Definition at line 958 of file ElementContainer.cs.
void ElementContainer.AddNote | ( | UINote | n, |
Func< Element, bool > | isValid = null, | ||
Action | onAdd = null, | ||
ElementContainer.NoteMode | mode = ElementContainer::NoteMode::Default, | ||
bool | addRaceFeat = false, | ||
Func< Element, string, string > | funcText = null, | ||
Action< UINote, Element > | onAddNote = null ) |
Definition at line 735 of file ElementContainer.cs.
void ElementContainer.AddNoteAll | ( | UINote | n | ) |
Definition at line 899 of file ElementContainer.cs.
void ElementContainer.ApplyElementMap | ( | int | uid, |
SourceValueType | type, | ||
Dictionary< int, int > | map, | ||
int | lv, | ||
bool | invert = false, | ||
bool | applyFeat = false ) |
Definition at line 90 of file ElementContainer.cs.
void ElementContainer.ApplyMaterialElementMap | ( | Thing | t, |
bool | invert = false ) |
Definition at line 116 of file ElementContainer.cs.
void ElementContainer.ApplyPotential | ( | int | mode = 0 | ) |
Definition at line 168 of file ElementContainer.cs.
int ElementContainer.Base | ( | int | ele | ) |
Definition at line 294 of file ElementContainer.cs.
void ElementContainer.CopyTo | ( | ElementContainer | container | ) |
Definition at line 703 of file ElementContainer.cs.
Element ElementContainer.CreateElement | ( | int | id | ) |
Definition at line 571 of file ElementContainer.cs.
int ElementContainer.Exp | ( | int | ele | ) |
Definition at line 239 of file ElementContainer.cs.
Element ElementContainer.GetElement | ( | int | id | ) |
Definition at line 565 of file ElementContainer.cs.
Element ElementContainer.GetElement | ( | string | alias | ) |
Definition at line 559 of file ElementContainer.cs.
int ElementContainer.GetFeatRef | ( | int | ele, |
int | idx = 0 ) |
Definition at line 227 of file ElementContainer.cs.
Definition at line 584 of file ElementContainer.cs.
Element ElementContainer.GetOrCreateElement | ( | int | id | ) |
Definition at line 596 of file ElementContainer.cs.
Element ElementContainer.GetOrCreateElement | ( | string | alias | ) |
Definition at line 590 of file ElementContainer.cs.
|
static |
Definition at line 716 of file ElementContainer.cs.
Definition at line 534 of file ElementContainer.cs.
bool ElementContainer.Has | ( | int | ele | ) |
Definition at line 250 of file ElementContainer.cs.
bool ElementContainer.Has | ( | SourceElement.Row | row | ) |
Definition at line 257 of file ElementContainer.cs.
bool ElementContainer.Has | ( | string | alias | ) |
Definition at line 263 of file ElementContainer.cs.
bool ElementContainer.HasBase | ( | int | ele | ) |
Definition at line 269 of file ElementContainer.cs.
void ElementContainer.ImportElementMap | ( | Dictionary< int, int > | map | ) |
Definition at line 149 of file ElementContainer.cs.
ElementContainer ElementContainer.ImportElementMap | ( | int[] | ints | ) |
Definition at line 158 of file ElementContainer.cs.
void ElementContainer.Learn | ( | int | ele, |
int | v = 1 ) |
Definition at line 305 of file ElementContainer.cs.
List< Element > ElementContainer.ListBestAttributes | ( | ) |
Definition at line 667 of file ElementContainer.cs.
List< Element > ElementContainer.ListBestSkills | ( | ) |
Definition at line 675 of file ElementContainer.cs.
List< Element > ElementContainer.ListElements | ( | Func< Element, bool > | shoudList = null, |
Comparison< Element > | comparison = null ) |
Definition at line 639 of file ElementContainer.cs.
List< Element > ElementContainer.ListGeneFeats | ( | ) |
Definition at line 683 of file ElementContainer.cs.
Definition at line 689 of file ElementContainer.cs.
Element ElementContainer.ModBase | ( | int | ele, |
int | v ) |
Definition at line 468 of file ElementContainer.cs.
void ElementContainer.ModExp | ( | int | ele, |
int | a, | ||
bool | chain = false ) |
Definition at line 319 of file ElementContainer.cs.
Element ElementContainer.ModPotential | ( | int | ele, |
int | v ) |
Definition at line 491 of file ElementContainer.cs.
Element ElementContainer.ModTempPotential | ( | int | ele, |
int | v, | ||
int | threshMsg = 0 ) |
Definition at line 503 of file ElementContainer.cs.
|
virtual |
Definition at line 486 of file ElementContainer.cs.
|
virtual |
Definition at line 393 of file ElementContainer.cs.
|
virtual |
Definition at line 408 of file ElementContainer.cs.
|
virtual |
Definition at line 403 of file ElementContainer.cs.
|
virtual |
Definition at line 516 of file ElementContainer.cs.
|
virtual |
Definition at line 398 of file ElementContainer.cs.
void ElementContainer.Remove | ( | int | id | ) |
Definition at line 453 of file ElementContainer.cs.
Element ElementContainer.SetBase | ( | int | id, |
int | v, | ||
int | potential = 0 ) |
Definition at line 419 of file ElementContainer.cs.
Element ElementContainer.SetBase | ( | string | alias, |
int | v, | ||
int | potential = 0 ) |
Definition at line 413 of file ElementContainer.cs.
void ElementContainer.SetParent | ( | Card | c | ) |
Definition at line 607 of file ElementContainer.cs.
void ElementContainer.SetParent | ( | ElementContainer | newParent = null | ) |
Definition at line 613 of file ElementContainer.cs.
void ElementContainer.SetTo | ( | int | id, |
int | v ) |
Definition at line 438 of file ElementContainer.cs.
void ElementContainer.Train | ( | int | ele, |
int | a = 10 ) |
Definition at line 312 of file ElementContainer.cs.
int ElementContainer.Value | ( | int | ele | ) |
Definition at line 180 of file ElementContainer.cs.
|
virtual |
Definition at line 199 of file ElementContainer.cs.
int ElementContainer.ValueWithoutLink | ( | int | ele | ) |
Definition at line 205 of file ElementContainer.cs.
int ElementContainer.ValueWithoutLink | ( | string | alias | ) |
Definition at line 216 of file ElementContainer.cs.
Definition at line 945 of file ElementContainer.cs.
List<int> ElementContainer.list |
Definition at line 955 of file ElementContainer.cs.
ElementContainer ElementContainer.parent |
Definition at line 948 of file ElementContainer.cs.
|
static |
Definition at line 951 of file ElementContainer.cs.
|
get |
Definition at line 15 of file ElementContainer.cs.
|
get |
Definition at line 25 of file ElementContainer.cs.
|
get |
Definition at line 35 of file ElementContainer.cs.