Elin Modding Docs Doc
Loading...
Searching...
No Matches
ActPlan Class Reference
Inheritance diagram for ActPlan:
EClass

Classes

class  Item
 
class  List
 

Public Member Functions

string GetText (bool showName)
 
Func< bool > GetAction ()
 
void ShowContextMenu ()
 
bool TrySetAct (string lang, Func< bool > onPerform, Card tc, CursorInfo cursor=null, int dist=1, bool isHostileAct=false, bool localAct=true, bool canRepeat=false)
 
bool TrySetAct (string lang, Func< bool > onPerform, CursorInfo cursor=null, int dist=1)
 
bool TrySetAct (Act _act, Card _tc=null)
 
void Clear ()
 
void Update (PointTarget target)
 
void _Update (PointTarget target)
 

Public Attributes

Point pos = new Point()
 
ActInput input
 
bool performed
 
bool altAction
 
bool ignoreAdddCondition
 
ActPlan.List list = new ActPlan.List()
 
int dist
 
Thing tool
 
List< ThinglistPick = new List<Thing>()
 
Act lastAct
 

Static Public Attributes

static bool warning
 
- Static Public Attributes inherited from EClass
static Core core
 

Properties

bool IsSelf [get]
 
bool IsSelfOrNeighbor [get]
 
bool IsNeighborBlocked [get]
 
bool canRepeat [get]
 
Chara cc [get]
 
CursorInfo CursorIcon [get]
 
bool WillEndTurn [get]
 
bool HideRightInfo [get]
 
bool HasAct [get]
 
bool ShowAct [get]
 
bool HasMultipleTargets [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

- 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)
 

Detailed Description

Definition at line 8 of file ActPlan.cs.

Member Function Documentation

◆ _Update()

void ActPlan._Update ( PointTarget target)

Definition at line 290 of file ActPlan.cs.

◆ Clear()

void ActPlan.Clear ( )

Definition at line 248 of file ActPlan.cs.

◆ GetAction()

Func< bool > ActPlan.GetAction ( )

Definition at line 143 of file ActPlan.cs.

◆ GetText()

string ActPlan.GetText ( bool showName)

Definition at line 61 of file ActPlan.cs.

◆ ShowContextMenu()

void ActPlan.ShowContextMenu ( )

Definition at line 175 of file ActPlan.cs.

◆ TrySetAct() [1/3]

bool ActPlan.TrySetAct ( Act _act,
Card _tc = null )

Definition at line 232 of file ActPlan.cs.

◆ TrySetAct() [2/3]

bool ActPlan.TrySetAct ( string lang,
Func< bool > onPerform,
Card tc,
CursorInfo cursor = null,
int dist = 1,
bool isHostileAct = false,
bool localAct = true,
bool canRepeat = false )

Definition at line 207 of file ActPlan.cs.

◆ TrySetAct() [3/3]

bool ActPlan.TrySetAct ( string lang,
Func< bool > onPerform,
CursorInfo cursor = null,
int dist = 1 )

Definition at line 221 of file ActPlan.cs.

◆ Update()

void ActPlan.Update ( PointTarget target)

Definition at line 255 of file ActPlan.cs.

Member Data Documentation

◆ altAction

bool ActPlan.altAction

Definition at line 779 of file ActPlan.cs.

◆ dist

int ActPlan.dist

Definition at line 794 of file ActPlan.cs.

◆ ignoreAdddCondition

bool ActPlan.ignoreAdddCondition

Definition at line 782 of file ActPlan.cs.

◆ input

ActInput ActPlan.input

Definition at line 773 of file ActPlan.cs.

◆ lastAct

Act ActPlan.lastAct

Definition at line 803 of file ActPlan.cs.

◆ list

ActPlan.List ActPlan.list = new ActPlan.List()

Definition at line 791 of file ActPlan.cs.

◆ listPick

List<Thing> ActPlan.listPick = new List<Thing>()

Definition at line 800 of file ActPlan.cs.

◆ performed

bool ActPlan.performed

Definition at line 776 of file ActPlan.cs.

◆ pos

Point ActPlan.pos = new Point()

Definition at line 770 of file ActPlan.cs.

◆ tool

Thing ActPlan.tool

Definition at line 797 of file ActPlan.cs.

◆ warning

bool ActPlan.warning
static

Definition at line 767 of file ActPlan.cs.

Property Documentation

◆ canRepeat

bool ActPlan.canRepeat
get

Definition at line 42 of file ActPlan.cs.

◆ cc

Chara ActPlan.cc
get

Definition at line 52 of file ActPlan.cs.

◆ CursorIcon

CursorInfo ActPlan.CursorIcon
get

Definition at line 76 of file ActPlan.cs.

◆ HasAct

bool ActPlan.HasAct
get

Definition at line 114 of file ActPlan.cs.

◆ HasMultipleTargets

bool ActPlan.HasMultipleTargets
get

Definition at line 134 of file ActPlan.cs.

◆ HideRightInfo

bool ActPlan.HideRightInfo
get

Definition at line 104 of file ActPlan.cs.

◆ IsNeighborBlocked

bool ActPlan.IsNeighborBlocked
get

Definition at line 32 of file ActPlan.cs.

◆ IsSelf

bool ActPlan.IsSelf
get

Definition at line 12 of file ActPlan.cs.

◆ IsSelfOrNeighbor

bool ActPlan.IsSelfOrNeighbor
get

Definition at line 22 of file ActPlan.cs.

◆ ShowAct

bool ActPlan.ShowAct
get

Definition at line 124 of file ActPlan.cs.

◆ WillEndTurn

bool ActPlan.WillEndTurn
get

Definition at line 94 of file ActPlan.cs.


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