Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | SetOwner (Card c, bool applyFeat) |
override void | OnLearn (int ele) |
void | CheckSkillActions () |
override void | OnTrain (int ele) |
override void | OnModTempPotential (Element e, int v, int threshMsg) |
override void | OnLevelUp (Element e, int lastValue) |
override void | OnLevelDown (Element e, int lastValue) |
override int | ValueBonus (Element e) |
![]() | |
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 | |
Card | owner |
![]() | |
Dictionary< int, Element > | dict = new Dictionary<int, Element>() |
ElementContainer | parent |
List< int > | list |
Properties | |
override Card | Card [get] |
override Chara | Chara [get] |
override bool | IsMeleeWeapon [get] |
![]() | |
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] |
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 |
Definition at line 3 of file ElementContainerCard.cs.
|
inline |
Definition at line 40 of file ElementContainerCard.cs.
References EClass.core, SourceManager.elements, ElementContainer.GetElement(), ElementContainer.HasBase(), Core.IsGameStarted, Card.IsPC, owner, LayerAbility.Redraw(), Card.Say(), ElementContainer.SetBase(), EClass.sources, and ElementContainer.ValueWithoutLink().
Referenced by OnLearn(), OnLevelUp(), Game.OnLoad(), and Player.OnStartNewGame().
|
inlinevirtual |
Reimplemented from ElementContainer.
Definition at line 30 of file ElementContainerCard.cs.
References CheckSkillActions(), SourceManager.elements, Card.IsPCFaction, owner, Msg.Say(), and EClass.sources.
|
inlinevirtual |
Reimplemented from ElementContainer.
Definition at line 140 of file ElementContainerCard.cs.
References Chara.CalculateMaxStamina(), Card.Chara, Msg.colors, Card.isChara, Card.IsPC, Chara.IsPCFaction, Element.Name, MsgColors.Negative, owner, Msg.Say(), Msg.SetColor(), Element.ShowMsgOnValueChanged, and Element.source.
|
inlinevirtual |
Reimplemented from ElementContainer.
Definition at line 87 of file ElementContainerCard.cs.
References Card.AddExp(), Chara.CalculateMaxStamina(), Card.Chara, CheckSkillActions(), Msg.colors, MsgColors.Ding, Chara.homeBranch, Element.id, VirtualDate.IsActive, Card.isChara, Chara.IsInActiveZone, Card.IsPC, Chara.IsPCFaction, Card.IsPCParty, FactionBranch.Log(), Party.members, Card.Name, Element.Name, owner, Chara.party, EClass.pc, Card.pos, EClass.rnd(), Card.Say(), WidgetPopText.Say(), Msg.SetColor(), Element.ShowMsgOnValueChanged, Element.source, Point.TalkWitnesses(), and Element.ValueWithoutLink.
|
inlinevirtual |
Reimplemented from ElementContainer.
Definition at line 73 of file ElementContainerCard.cs.
References Card.IsPCFaction, Element.Name, owner, Card.PlaySound(), Card.Say(), and Msg.SetColor().
|
inlinevirtual |
Reimplemented from ElementContainer.
Definition at line 68 of file ElementContainerCard.cs.
References SourceManager.elements, Msg.Say(), and EClass.sources.
|
inline |
Definition at line 23 of file ElementContainerCard.cs.
References ElementContainer.ApplyElementMap(), CardRow.elementMap, Card.LV, owner, Card.sourceCard, and Card.uid.
Referenced by Card._OnDeserialized(), and Card.Create().
|
inlinevirtual |
Reimplemented from ElementContainer.
Definition at line 167 of file ElementContainerCard.cs.
References EClass._map, Card.Chara, Faction.charaElements, Map.charas, Player.CountKeyItem(), Card.Evalue(), Chara.faction, EClass.game, ElementContainer.GetElement(), Card.id, Element.id, Chara.IsHostile(), Card.IsPCFactionOrMinion, Card.IsPCParty, Party.members, owner, Chara.party, EClass.pc, EClass.player, Chara.race, Element.source, Element.Value, Element.ValueWithoutLink, and Element.vLink.
Card ElementContainerCard.owner |
Definition at line 5 of file ElementContainerCard.cs.
Referenced by CheckSkillActions(), OnLearn(), OnLevelDown(), OnLevelUp(), OnModTempPotential(), SetOwner(), and ValueBonus().
|
get |
Definition at line 7 of file ElementContainerCard.cs.
|
get |
Definition at line 9 of file ElementContainerCard.cs.
|
get |
Definition at line 11 of file ElementContainerCard.cs.