Elin Decompiled Documentation EA 23.153 Nightly
|
Classes | |
struct | Cost |
Public Types | |
enum | CostType { None , MP , SP } |
Public Member Functions | |
virtual CursorInfo | GetCursorIcon (Card c) |
virtual MultiSprite | GetStateIcon () |
override Sprite | GetSprite () |
virtual bool | ShowMouseHint (Card c) |
virtual bool | IsValidTC (Card c) |
virtual string | GetHintText (string str="") |
virtual string | GetText (string str="") |
virtual string | GetTextSmall (Card c) |
bool | IsTargetHostileParty () |
virtual Color | GetActPlanColor () |
virtual bool | Perform () |
virtual bool | CanPerform () |
bool | Perform (Chara _cc, Card _tc=null, Point _tp=null) |
bool | CanPerform (Chara _cc, Card _tc=null, Point _tp=null) |
virtual bool | IsToolValid () |
new void | SetImage (Image image) |
virtual void | OnMarkMapHighlights () |
virtual bool | ShouldMapHighlight (Point p) |
![]() | |
virtual SourceElement.Row | GetSource () |
virtual int | GetSourcePotential (int v) |
virtual Sprite | GetSprite () |
int | GetMaterialSourceValue (Thing t, int v) |
virtual int | GetSourceValue (int v, int lv, SourceValueType type) |
virtual Sprite | GetIcon (string suffix="") |
bool | IsActive (Card c) |
int | SortVal (bool charaSheet=false) |
virtual bool | CanLink (ElementContainer owner) |
bool | HasTag (string tag) |
void | SetImage (Image i) |
virtual string | GetDetail () |
bool | IsFactionElement (Chara c) |
Element | GetParent (Card c) |
void | WriteNote (UINote n, ElementContainer owner=null, Action< UINote > onWriteNote=null) |
void | WriteNoteWithRef (UINote n, ElementContainer owner, Action< UINote > onWriteNote, Element refEle) |
void | _WriteNote (UINote n, Chara c, Act act) |
void | AddHeaderAbility (UINote n) |
void | _WriteNote (UINote n, ElementContainer owner, Action< UINote > onWriteNote, bool isRef, bool addHeader=true) |
void | AddEncNote (UINote n, Card Card, ElementContainer.NoteMode mode=ElementContainer.NoteMode.Default, Func< Element, string, string > funcText=null, Action< UINote, Element > onAddNote=null) |
virtual void | OnWriteNote (UINote n, ElementContainer owner) |
virtual void | OnChangeValue () |
void | CheckLevelBonus (ElementContainer owner, UINote n=null) |
int | GetSortVal (UIList.SortMode m) |
virtual Act.Cost | GetCost (Chara c) |
virtual int | GetPower (Card c) |
virtual void | SetTextValue (UIText text) |
virtual bool | IsPurchaseFeatReqMet (ElementContainer owner, int lv=-1) |
virtual void | WritePurchaseReq (UINote n, int lv=1) |
Static Public Member Functions | |
static void | SetReference (Chara _cc, Card _tc=null, Point _tp=null) |
static void | SetTool (Thing t) |
![]() | |
static string | GetName (string alias) |
static SourceElement.Row | Get (int id) |
static Dictionary< int, int > | GetElementMap (int[] list) |
static Dictionary< int, int > | GetElementMap (int[] list, Dictionary< int, int > map) |
static SourceElement.Row | GetRandomElement (int lv=1) |
static Element | Create (int id, int v=0) |
static Element | Create (string id, int v=1) |
static int | GetId (string alias) |
static int | GetResistLv (int v) |
static int | GetResistDamage (int dmg, int v, int power=0) |
![]() | |
static int | rndSeed (int a, int seed) |
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) |
Static Public Attributes | |
static Chara | CC |
static Card | TC |
static Point | TP = new Point() |
static Thing | TOOL |
static int | powerMod = 100 |
static bool | forcePt |
static Act | CurrentAct |
![]() | |
const int | Div = 5 |
static Element | Void = new Element() |
static int[] | List_MainAttributes = new int[9] { 70, 72, 71, 77, 74, 75, 76, 73, 79 } |
static int[] | List_MainAttributesMajor = new int[8] { 70, 72, 71, 77, 74, 75, 76, 73 } |
static int[] | List_Body = new int[4] { 70, 72, 71, 77 } |
static int[] | List_Mind = new int[4] { 74, 75, 76, 73 } |
static List< SourceElement.Row > | ListElements = new List<SourceElement.Row>() |
static List< SourceElement.Row > | ListAttackElements = new List<SourceElement.Row>() |
![]() | |
static Core | core |
Properties | |
override bool | ShowPotential [get] |
override bool | UsePotential [get] |
override bool | ShowRelativeAttribute [get] |
virtual CursorInfo | CursorIcon [get] |
virtual string | ID [get] |
virtual bool | IsAct [get] |
virtual bool | WillEndTurn [get] |
virtual bool | CloseLayers [get] |
virtual int | LeftHand [get] |
virtual int | RightHand [get] |
virtual int | ElementPowerMod [get] |
virtual bool | ShowMapHighlight [get] |
virtual bool | ShowMapHighlightBlock [get] |
virtual bool | PickHeldOnStart [get] |
virtual bool | DropHeldOnStart [get] |
virtual bool | CanPressRepeat [get] |
virtual bool | CanAutofire [get] |
virtual bool | ResetAxis [get] |
virtual bool | RequireTool [get] |
virtual bool | IsHostileAct [get] |
virtual bool | HideRightInfo [get] |
virtual bool | HaveLongPressAction [get] |
virtual float | Radius [get] |
virtual int | PerformDistance [get] |
virtual int | MaxRadius [get] |
virtual TargetType | TargetType [get] |
virtual bool | LocalAct [get] |
virtual bool | CanRapidFire [get] |
virtual float | RapidDelay [get] |
virtual bool | ShowAuto [get] |
virtual bool | IsCrime [get] |
![]() | |
SourceElement.Row | source [get] |
virtual int | DisplayValue [get] |
virtual int | MinValue [get] |
int | Value [get] |
int | ValueWithoutLink [get] |
virtual int | MinPotential [get] |
int | Potential [get] |
virtual bool | CanGainExp [get] |
bool | IsFlag [get] |
virtual string | Name [get] |
virtual string | FullName [get] |
virtual int | ExpToNext [get] |
virtual bool | UseExpMod [get] |
virtual int | CostTrain [get] |
virtual int | CostLearn [get] |
virtual bool | ShowXP [get] |
virtual bool | ShowMsgOnValueChanged [get] |
virtual bool | ShowValue [get] |
virtual bool | ShowPotential [get] |
virtual bool | UsePotential [get] |
virtual bool | PotentialAsStock [get] |
virtual bool | ShowRelativeAttribute [get] |
virtual bool | ShowBonuses [get] |
virtual string | ShortName [get] |
bool | IsGlobalElement [get] |
bool | IsFactionWideElement [get] |
bool | IsPartyWideElement [get] |
virtual bool | ShowEncNumber [get] |
bool | IsTrait [get] |
bool | IsFoodTrait [get] |
bool | IsFoodTraitMain [get] |
bool | IsMainAttribute [get] |
Act | act [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 | |
![]() | |
SourceElement.Row | _source |
int | id |
int | vBase |
int | vExp |
int | vPotential |
int | vTempPotential |
int | vLink |
int | vSource |
int | vSourcePotential |
ElementContainer | owner |
enum Act.CostType |
|
inlinevirtual |
Reimplemented in ActBash, ActClearWater, ActCryRage, ActDrawWater, ActItem, ActKick, ActMelee, ActMultihit, ActNTR, ActPick, ActRanged, ActRestrain, ActRush, ActSwarm, ActThrow, ActWater, AI_Fish, AI_Steal, TaskClean, TaskCullLife, TaskPoint, and TaskWater.
Definition at line 303 of file ACT.cs.
Referenced by CanPerform(), ActPlan.Item.Perform(), Perform(), ActPlan.TrySetAct(), HotItemAct.TrySetAct(), TraitCatalyst.TrySetHeldAct(), and GoalCombat.TryUseAbility().
Definition at line 317 of file ACT.cs.
References EClass._zone, TargetType.CanOnlyTargetEnemy, CanPerform(), Chara.CanSee(), CC, TargetType.Chara, Point.Charas, Core.config, EClass.core, Point.Distance(), Point.FirstChara, forcePt, Card.ForeachPoint(), CoreConfig.game, Point.HasChara, Chara.IsHostile(), Chara.IsMultisize, Chara.IsPC, Card.IsPCFactionOrMinion, Spatial.IsRegion, EInput.isShiftDown, Point.IsSync, Los.IsVisible(), TargetType.LimitDist, LocalAct, MaxRadius, Card.pos, TargetType.Range, TargetType.RequireChara, TargetType.RequireLos, Point.Set(), CoreConfig.GameConfig.shiftToUseNegativeAbilityOnSelf, Chara.source, TargetType, and TP.
|
inlinevirtual |
Reimplemented in GoalAutoCombat.
Definition at line 257 of file ACT.cs.
References ColorProfile.colorAct, ColorProfile.colorHostileAct, EClass.Colors, and IsCrime.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from Element.
Definition at line 191 of file ACT.cs.
Referenced by HotItemAct.GetSprite(), and SetImage().
|
inlinevirtual |
Reimplemented in AI_PassTime, and AIAct.
Definition at line 186 of file ACT.cs.
|
inlinevirtual |
Reimplemented in ActRanged, ActThrow, AI_Shear, AI_Slaughter, BaseTaskHarvest, DynamicAct, DynamicAIAct, TaskBuild, TaskClean, and TaskWater.
Definition at line 215 of file ACT.cs.
References Lang.Get(), Lang.Has(), Element.id, and Lang.ParseRaw().
Referenced by GetHintText(), ActPlan.Item.GetText(), ActPlan.Item.GetTextContext(), and ActPlan.Item.Perform().
|
inlinevirtual |
Reimplemented in ActMelee, BaseTaskHarvest, TaskDig, TaskHarvest, and TaskMine.
Definition at line 232 of file ACT.cs.
References Card.GetExtraName().
Referenced by ActPlan.Item.GetText().
|
inline |
Definition at line 241 of file ACT.cs.
Referenced by GoalCombat.TryUseAbility(), and Chara.UseAbility().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in AI_Shear, AI_Slaughter, and AI_Steal.
Definition at line 201 of file ACT.cs.
References Trait.CanBeAttacked, Card.isChara, and Card.trait.
Referenced by HotItemAct.TrySetAct(), and TraitCatalyst.TrySetHeldAct().
|
inlinevirtual |
Reimplemented in ActBolt, and ActRush.
Definition at line 469 of file ACT.cs.
References EClass._map, Map.ForeachSphere(), Point.HasBlock, EClass.pc, Card.pos, Point.SetHighlight(), ShouldMapHighlight(), Point.x, and Point.z.
Referenced by HotItemGameAction.OnMarkMapHighlights().
|
inlinevirtual |
Reimplemented in ActBash, ActChat, ActClearWater, ActCryRage, ActDrawWater, ActDreamBug, ActItem, ActKick, ActMelee, ActMultihit, ActNTR, ActPick, ActPray, ActQuickCraft, ActRanged, ActRestrain, ActRide, ActRush, ActSummonGuard, ActSwarm, ActThrow, ActWait, ActWater, ActZap, AI_Shear, AI_Slaughter, AI_Steal, AIAct, DynamicAct, and DynamicAIAct.
Definition at line 266 of file ACT.cs.
References CC, Card.elements, forcePt, ElementContainer.GetOrCreateElement(), Element.GetPower(), Element.id, Chara.MainElement, Card.pos, ActEffect.Proc(), ActEffect.ProcAt(), TargetType.Range, Point.Set(), Element.source, and TP.
Referenced by ActMelee.Attack(), Thing.DoAct(), UIInventory.DoAct(), ActItem.Perform(), ActPlan.Item.Perform(), Perform(), and Chara.UseAbility().
Definition at line 308 of file ACT.cs.
References CanPerform(), and Perform().
|
inline |
Definition at line 454 of file ACT.cs.
References Color, EClass.core, CoreRef.Icons.defaultAbility, GameSetting.elements, GetSprite(), CoreRef.icons, Core.refs, and EClass.setting.
Referenced by ButtonAbility.SetAct(), and HotItemAct.SetImage().
|
inlinestatic |
|
inlinevirtual |
|
inlinevirtual |
|
static |
Definition at line 77 of file ACT.cs.
Referenced by ActMelee.Attack(), ActBash.CanPerform(), ActKick.CanPerform(), ActMelee.CanPerform(), ActNTR.CanPerform(), ActRanged.CanPerform(), ActRush.CanPerform(), ActSwarm.CanPerform(), ActThrow.CanPerform(), TaskPoint.CanPerform(), CanPerform(), IsToolValid(), ActBolt.OnMarkMapHighlights(), Perform(), ActBash.Perform(), ActClearWater.Perform(), ActCryRage.Perform(), ActDrawWater.Perform(), ActDreamBug.Perform(), ActItem.Perform(), ActKick.Perform(), ActMultihit.Perform(), ActNTR.Perform(), ActPick.Perform(), ActPray.Perform(), ActRanged.Perform(), ActRide.Perform(), ActRush.Perform(), ActSummonGuard.Perform(), ActSwarm.Perform(), ActThrow.Perform(), ActWait.Perform(), ActWater.Perform(), ActZap.Perform(), AIAct.Perform(), ActPlan.Item.Perform(), ActPray.Pray(), SetReference(), ActThrow.Throw(), and ActRanged.TryReload().
|
static |
Definition at line 89 of file ACT.cs.
Referenced by Card.SpawnLoot().
|
static |
Definition at line 87 of file ACT.cs.
Referenced by CanPerform(), and Perform().
|
static |
Definition at line 79 of file ACT.cs.
Referenced by ActMelee.Attack(), ActKick.CanPerform(), ActMelee.CanPerform(), ActMultihit.CanPerform(), ActNTR.CanPerform(), ActRanged.CanPerform(), ActRestrain.CanPerform(), ActRush.CanPerform(), ActSwarm.CanPerform(), AI_Steal.CanPerform(), ActChat.Perform(), ActDreamBug.Perform(), ActKick.Perform(), ActMultihit.Perform(), ActNTR.Perform(), ActRanged.Perform(), ActRestrain.Perform(), ActRush.Perform(), ActSummonGuard.Perform(), ActSwarm.Perform(), AI_Shear.Perform(), AI_Slaughter.Perform(), AI_Steal.Perform(), ActPlan.Item.Perform(), and ActThrow.Throw().
|
static |
Definition at line 83 of file ACT.cs.
Referenced by IsToolValid(), AIAct.IsToolValid(), TaskCut.OnProgress(), and SetTool().
Definition at line 81 of file ACT.cs.
Referenced by ActMelee.Attack(), ActBash.CanPerform(), ActClearWater.CanPerform(), ActDrawWater.CanPerform(), ActKick.CanPerform(), ActPick.CanPerform(), ActRanged.CanPerform(), ActRestrain.CanPerform(), ActRush.CanPerform(), ActThrow.CanPerform(), AI_Fish.CanPerform(), TaskCullLife.CanPerform(), TaskPoint.CanPerform(), TaskWater.CanPerform(), CanPerform(), Perform(), ActBash.Perform(), ActPick.Perform(), ActRanged.Perform(), ActRestrain.Perform(), ActRide.Perform(), ActRush.Perform(), ActThrow.Perform(), ActWater.Perform(), ActZap.Perform(), ActPlan.Item.Perform(), TaskPoint.Run(), SetReference(), and ActThrow.Throw().
|
get |
Definition at line 121 of file ACT.cs.
Referenced by HotItemAct.TrySetAct(), and TraitCatalyst.TrySetHeldAct().
|
get |
Definition at line 173 of file ACT.cs.
Referenced by Chara.UseAbility().
|
get |
Definition at line 97 of file ACT.cs.
Referenced by GetCursorIcon().
|
get |
Definition at line 119 of file ACT.cs.
Referenced by AIAct.Start().
|
get |
Definition at line 111 of file ACT.cs.
Referenced by ActEffect.DamageEle().
|
get |
Definition at line 133 of file ACT.cs.
Referenced by Element._WriteNote(), ButtonAbility.TryUse(), and GoalCombat.TryUseAbility().
|
get |
Definition at line 99 of file ACT.cs.
Referenced by ActPlan.Item.Perform().
|
get |
Definition at line 101 of file ACT.cs.
Referenced by Thing.DoAct(), UIInventory.DoAct(), and ActPlan.Item.Perform().
|
get |
Definition at line 179 of file ACT.cs.
Referenced by GetActPlanColor().
|
get |
Definition at line 129 of file ACT.cs.
Referenced by Zone.IsCrime().
|
get |
Definition at line 107 of file ACT.cs.
Referenced by AIAct.Start().
|
get |
Definition at line 171 of file ACT.cs.
Referenced by Element._WriteNote(), ButtonAbility.CanAutoUse(), CanPerform(), TraitCatalyst.CanUse(), Thing.DoAct(), and UIInventory.DoAct().
|
get |
Definition at line 139 of file ACT.cs.
Referenced by CanPerform().
|
get |
Definition at line 137 of file ACT.cs.
Referenced by ActPlan.Item.Perform().
|
get |
Definition at line 117 of file ACT.cs.
Referenced by AIAct.Start().
|
get |
Definition at line 175 of file ACT.cs.
Referenced by Chara.UseAbility().
|
get |
Definition at line 109 of file ACT.cs.
Referenced by AIAct.Start().
|
get |
Definition at line 141 of file ACT.cs.
Referenced by Element._WriteNote(), ButtonAbility.CanAutoUse(), CanPerform(), TraitCatalyst.CanUse(), ButtonAbility.SetAct(), GoalCombat.TryUseAbility(), and Chara.UseAbility().