Elin Modding Docs Doc
Loading...
Searching...
No Matches
Act Class Reference
Inheritance diagram for Act:
Element EClass AIAct Ability ActBaseAttack ActBash ActChat ActDrawWater ActItem ActKick ActNoItem ActPick ActPray ActRestrain ActSummonGuard ActWait ActWater ActZap DynamicAct Wait

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)
 
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)
 
- Public Member Functions inherited from Element
virtual SourceElement.Row GetSource ()
 
virtual int GetSourcePotential (int v)
 
int GetMaterialSourceValue (Thing t, int v)
 
virtual int GetSourceValue (int v, int lv, SourceValueType type)
 
virtual Sprite GetIcon (string suffix="")
 
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 _WriteNote (UINote n, ElementContainer owner, Action< UINote > onWriteNote, bool isRef, bool addHeader=true)
 
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)
 

Static Public Member Functions

static void SetReference (Chara _cc, Card _tc=null, Point _tp=null)
 
static void SetTool (Thing t)
 
- Static Public Member Functions inherited from Element
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)
 
- Static Public Member Functions inherited from EClass
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 Public Attributes inherited from Element
const int Div = 5
 
static Element Void = new Element()
 
static int[] List_MainAttributes
 
static int[] List_MainAttributesMajor
 
static int[] List_Body
 
static int[] List_Mind
 
static List< SourceElement.RowListElements = new List<SourceElement.Row>()
 
static List< SourceElement.RowListAttackElements = new List<SourceElement.Row>()
 
- Static Public Attributes inherited from EClass
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]
 
- Properties inherited from Element
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 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]
 
- 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 Attributes inherited from Element
SourceElement.Row _source
 
int id
 
int vBase
 
int vExp
 
int vPotential
 
int vTempPotential
 
int vLink
 
int vSource
 
int vSourcePotential
 
ElementContainer owner
 
- Static Package Functions inherited from Element

Detailed Description

Definition at line 6 of file Act.2.cs.

Member Enumeration Documentation

◆ CostType

enum Act.CostType

Definition at line 649 of file Act.2.cs.

Member Function Documentation

◆ CanPerform() [1/2]

virtual bool Act.CanPerform ( )
virtual

Definition at line 509 of file Act.2.cs.

◆ CanPerform() [2/2]

bool Act.CanPerform ( Chara _cc,
Card _tc = null,
Point _tp = null )

Definition at line 521 of file Act.2.cs.

◆ GetActPlanColor()

virtual Color Act.GetActPlanColor ( )
virtual

Definition at line 451 of file Act.2.cs.

◆ GetCursorIcon()

virtual CursorInfo Act.GetCursorIcon ( Card c)
virtual

Definition at line 39 of file Act.2.cs.

◆ GetHintText()

virtual string Act.GetHintText ( string str = "")
virtual

Definition at line 269 of file Act.2.cs.

◆ GetSprite()

override Sprite Act.GetSprite ( )
virtual

Reimplemented from Element.

Definition at line 61 of file Act.2.cs.

◆ GetStateIcon()

virtual MultiSprite Act.GetStateIcon ( )
virtual

Definition at line 55 of file Act.2.cs.

◆ GetText()

virtual string Act.GetText ( string str = "")
virtual

Definition at line 275 of file Act.2.cs.

◆ GetTextSmall()

virtual string Act.GetTextSmall ( Card c)
virtual

Definition at line 301 of file Act.2.cs.

◆ IsToolValid()

virtual bool Act.IsToolValid ( )
virtual

Definition at line 584 of file Act.2.cs.

◆ IsValidTC()

virtual bool Act.IsValidTC ( Card c)
virtual

Definition at line 263 of file Act.2.cs.

◆ OnMarkMapHighlights()

virtual void Act.OnMarkMapHighlights ( )
virtual

Definition at line 612 of file Act.2.cs.

◆ Perform() [1/2]

virtual bool Act.Perform ( )
virtual

Definition at line 471 of file Act.2.cs.

◆ Perform() [2/2]

bool Act.Perform ( Chara _cc,
Card _tc = null,
Point _tp = null )

Definition at line 515 of file Act.2.cs.

◆ SetImage()

new void Act.SetImage ( Image image)

Definition at line 596 of file Act.2.cs.

◆ SetReference()

static void Act.SetReference ( Chara _cc,
Card _tc = null,
Point _tp = null )
static

Definition at line 576 of file Act.2.cs.

◆ SetTool()

static void Act.SetTool ( Thing t)
static

Definition at line 590 of file Act.2.cs.

◆ ShouldMapHighlight()

virtual bool Act.ShouldMapHighlight ( Point p)
virtual

Definition at line 625 of file Act.2.cs.

◆ ShowMouseHint()

virtual bool Act.ShowMouseHint ( Card c)
virtual

Definition at line 157 of file Act.2.cs.

Member Data Documentation

◆ CC

Chara Act.CC
static

Definition at line 631 of file Act.2.cs.

◆ forcePt

bool Act.forcePt
static

Definition at line 646 of file Act.2.cs.

◆ powerMod

int Act.powerMod = 100
static

Definition at line 643 of file Act.2.cs.

◆ TC

Card Act.TC
static

Definition at line 634 of file Act.2.cs.

◆ TOOL

Thing Act.TOOL
static

Definition at line 640 of file Act.2.cs.

◆ TP

Point Act.TP = new Point()
static

Definition at line 637 of file Act.2.cs.

Property Documentation

◆ CanAutofire

virtual bool Act.CanAutofire
get

Definition at line 194 of file Act.2.cs.

◆ CanPressRepeat

virtual bool Act.CanPressRepeat
get

Definition at line 184 of file Act.2.cs.

◆ CanRapidFire

virtual bool Act.CanRapidFire
get

Definition at line 422 of file Act.2.cs.

◆ CloseLayers

virtual bool Act.CloseLayers
get

Definition at line 98 of file Act.2.cs.

◆ CursorIcon

virtual CursorInfo Act.CursorIcon
get

Definition at line 46 of file Act.2.cs.

◆ DropHeldOnStart

virtual bool Act.DropHeldOnStart
get

Definition at line 174 of file Act.2.cs.

◆ ElementPowerMod

virtual int Act.ElementPowerMod
get

Definition at line 128 of file Act.2.cs.

◆ HaveLongPressAction

virtual bool Act.HaveLongPressAction
get

Definition at line 244 of file Act.2.cs.

◆ HideRightInfo

virtual bool Act.HideRightInfo
get

Definition at line 234 of file Act.2.cs.

◆ ID

virtual string Act.ID
get

Definition at line 68 of file Act.2.cs.

◆ IsAct

virtual bool Act.IsAct
get

Definition at line 78 of file Act.2.cs.

◆ IsCrime

virtual bool Act.IsCrime
get

Definition at line 462 of file Act.2.cs.

◆ IsHostileAct

virtual bool Act.IsHostileAct
get

Definition at line 224 of file Act.2.cs.

◆ LeftHand

virtual int Act.LeftHand
get

Definition at line 108 of file Act.2.cs.

◆ LocalAct

virtual bool Act.LocalAct
get

Definition at line 412 of file Act.2.cs.

◆ MaxRadius

virtual int Act.MaxRadius
get

Definition at line 322 of file Act.2.cs.

◆ PerformDistance

virtual int Act.PerformDistance
get

Definition at line 312 of file Act.2.cs.

◆ PickHeldOnStart

virtual bool Act.PickHeldOnStart
get

Definition at line 164 of file Act.2.cs.

◆ Radius

virtual float Act.Radius
get

Definition at line 254 of file Act.2.cs.

◆ RapidDelay

virtual float Act.RapidDelay
get

Definition at line 432 of file Act.2.cs.

◆ RequireTool

virtual bool Act.RequireTool
get

Definition at line 214 of file Act.2.cs.

◆ ResetAxis

virtual bool Act.ResetAxis
get

Definition at line 204 of file Act.2.cs.

◆ RightHand

virtual int Act.RightHand
get

Definition at line 118 of file Act.2.cs.

◆ ShowAuto

virtual bool Act.ShowAuto
get

Definition at line 442 of file Act.2.cs.

◆ ShowMapHighlight

virtual bool Act.ShowMapHighlight
get

Definition at line 138 of file Act.2.cs.

◆ ShowMapHighlightBlock

virtual bool Act.ShowMapHighlightBlock
get

Definition at line 148 of file Act.2.cs.

◆ ShowPotential

override bool Act.ShowPotential
get

Definition at line 10 of file Act.2.cs.

◆ ShowRelativeAttribute

override bool Act.ShowRelativeAttribute
get

Definition at line 30 of file Act.2.cs.

◆ TargetType

virtual TargetType Act.TargetType
get

Definition at line 332 of file Act.2.cs.

◆ UsePotential

override bool Act.UsePotential
get

Definition at line 20 of file Act.2.cs.

◆ WillEndTurn

virtual bool Act.WillEndTurn
get

Definition at line 88 of file Act.2.cs.


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