Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
bool | IsEffective (Thing t) |
void | OnEquip (Chara c, Thing t) |
void | OnUnequip (Chara c, Thing t) |
void | OnEquip (Thing t) |
void | OnUnequip (Thing t) |
void | CheckDirty () |
void | OnLeaveFaith () |
void | OnJoinFaith () |
void | OnAddMemeber (Chara c) |
void | OnRemoveMember (Chara c) |
![]() | |
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) |
List< Element > | ListRune () |
void | CopyTo (ElementContainer container) |
void | AddNote (UINote n, Func< Element, bool > isValid=null, Action onAdd=null, NoteMode mode=NoteMode.Default, bool addRaceFeat=false, Func< Element, string, string > funcText=null, Action< UINote, Element > onAddNote=null) |
void | AddNoteAll (UINote n) |
Public Attributes | |
bool | isDirty |
![]() | |
Dictionary< int, Element > | dict = new Dictionary<int, Element>() |
ElementContainer | parent |
List< int > | list |
Additional Inherited Members | |
![]() | |
enum | NoteMode { Default , CharaMake , CharaMakeAttributes , Domain , Trait } |
![]() | |
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) |
![]() | |
const int | sizeElement = 5 |
![]() | |
static Core | core |
![]() | |
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 1 of file ElementContainerFaction.cs.
|
inline |
Definition at line 64 of file ElementContainerFaction.cs.
References EClass._map, Game.cards, Map.charas, EClass.core, EClass.game, CardManager.globalCharas, isDirty, Core.IsGameStarted, Chara.IsPCFaction, Chara.IsPCFactionMinion, and Chara.Refresh().
Referenced by OnEquip(), and OnUnequip().
|
inline |
Definition at line 5 of file ElementContainerFaction.cs.
References Card.c_idDeity, Chara.idFaith, and EClass.pc.
Referenced by OnEquip(), and OnUnequip().
|
inline |
Definition at line 112 of file ElementContainerFaction.cs.
References OnEquip(), and BodySlot.thing.
Referenced by FactionBranch.AddMemeber(), OnJoinFaith(), and FactionBranch.SetOwner().
Definition at line 14 of file ElementContainerFaction.cs.
References Chara.IsPCFaction, and OnEquip().
Referenced by CharaBody.Equip(), OnAddMemeber(), and OnEquip().
|
inline |
Definition at line 30 of file ElementContainerFaction.cs.
References CheckDirty(), Element.id, isDirty, IsEffective(), Element.IsGlobalElement, ElementContainer.ModBase(), Element.Value, and Element.vExp.
|
inline |
Definition at line 101 of file ElementContainerFaction.cs.
References Game.cards, EClass.game, CardManager.globalCharas, Chara.IsPCFaction, and OnAddMemeber().
Referenced by Religion.JoinFaith().
|
inline |
Definition at line 90 of file ElementContainerFaction.cs.
References Game.cards, EClass.game, CardManager.globalCharas, Chara.IsPCFaction, and OnRemoveMember().
Referenced by Religion.LeaveFaith().
|
inline |
Definition at line 123 of file ElementContainerFaction.cs.
References OnUnequip(), and BodySlot.thing.
Referenced by OnLeaveFaith(), and FactionBranch.RemoveMemeber().
Definition at line 22 of file ElementContainerFaction.cs.
References Chara.IsPCFaction, and OnUnequip().
Referenced by OnRemoveMember(), OnUnequip(), and CharaBody.Unequip().
|
inline |
Definition at line 47 of file ElementContainerFaction.cs.
References CheckDirty(), Element.id, isDirty, IsEffective(), Element.IsGlobalElement, ElementContainer.ModBase(), and Element.Value.
bool ElementContainerFaction.isDirty |
Definition at line 3 of file ElementContainerFaction.cs.
Referenced by CheckDirty(), OnEquip(), and OnUnequip().