Elin Modding Docs Doc
Loading...
Searching...
No Matches
AM_Adv Class Reference
Inheritance diagram for AM_Adv:
AM_BaseGameMode ActionMode EClass AM_ADV_Target AM_Region

Classes

class  PressedAction
 

Public Member Functions

override bool HighlightWall (Point p)
 
unsafe override void OnActivate ()
 
override void OnDeactivate ()
 
unsafe override void OnRenderTile (Point point, HitResult result, int dir)
 
override int GetDefaultTile (Point p)
 
override void OnBeforeUpdate ()
 
unsafe override void OnAfterUpdate ()
 
override void OnUpdateCursor ()
 
void UpdatePlans ()
 
void UpdateLangWheel ()
 
void ClearPlans ()
 
void OnBecomeNoGoal ()
 
override void _OnUpdateInput ()
 
void ShowAllAction ()
 
void SetTurbo (int mtp=-1)
 
void EndTurbo ()
 
void ToggleZoom ()
 
bool TryCancelInteraction (bool sound=true)
 
bool CanAct ()
 
void AxisMove ()
 
void SetManualMove ()
 
void SetPressedAction (ButtonState button)
 
bool PressedActionMove (Point pos)
 
virtual unsafe void RefreshArrow ()
 
- Public Member Functions inherited from AM_BaseGameMode
override void OnUpdateInput ()
 
override string GetHintText ()
 
override void OnCancel ()
 
override HitResult HitTest (Point point, Point start)
 
- Public Member Functions inherited from ActionMode
virtual int TopHeight (Point p)
 
virtual void SEExecuteSummary ()
 
virtual void OnClickSubMenu (int a)
 
virtual string OnSetSubMenuButton (int a, UIButton b)
 
virtual bool IsRoofEditMode (Card c=null)
 
virtual bool IsFillMode ()
 
virtual void OnShowExtraHint (UINote n)
 
void Activate (bool toggle=true, bool forceActivate=false)
 
unsafe void RefreshTexts ()
 
virtual string GetSimpleText (Card c)
 
void ClearSimpleTexts ()
 
void Deactivate ()
 
void OnRotate ()
 
void SetCursorOnMap (CursorInfo cursor)
 
void UpdateInput ()
 
void InputMovement ()
 
virtual void InputWheel (int wheel)
 
void DoFunc (CoreConfig.GameFuncBuild func)
 
void DoFunc (CoreConfig.GameFunc func)
 
virtual void OnScroll ()
 
void TryRightClickCloseWidget ()
 
bool TryShowWidgetMenu ()
 
HitResult _HitTest (Point point, Point start)
 
virtual void OnSelectStart (Point point)
 
virtual void OnSelectEnd (bool cancel)
 
virtual MeshPass GetGuidePass (Point point)
 
unsafe void OnRenderTileFloor (Point point, HitResult result)
 
virtual bool CanProcessTiles ()
 
virtual void OnBeforeProcessTiles ()
 
virtual void OnProcessTiles (Point point, int dir)
 
virtual void OnAfterProcessTiles (Point start, Point end)
 
virtual void OnFinishProcessTiles ()
 
virtual void OnRefreshSummary (Point point, HitResult result, HitSummary summary)
 
void ShowLayer ()
 
virtual Layer OnShowLayer ()
 
void HideLayer ()
 
virtual void OnHideLayer ()
 
virtual void RotateUnderMouse ()
 
virtual ref string SetMouseInfo (ref string s)
 
void TogglePause ()
 
void Pause (bool sound=false)
 
void UnPause (bool sound=false)
 
void ChangeGameSpeed (int a, bool sound=false)
 

Public Attributes

bool zoomOut
 
bool zoomOut2
 
bool movedByKey
 
AM_Adv.PressedAction pressedAction = new AM_Adv.PressedAction()
 
PointTarget axisTarget
 
ActPlan planLeft
 
ActPlan planRight
 
ActPlan planKeyboard
 
ActPlan planAll
 
string textWheel
 
string textMiddle
 
float rightMouseTimer
 
- Public Attributes inherited from AM_BaseGameMode
bool isMouseOnMap
 
- Public Attributes inherited from ActionMode
Layer layer
 
int brushRadius = 4
 

Static Public Attributes

static float turbo
 
static int actCount
 
- Static Public Attributes inherited from ActionMode
static ActionMode DefaultMode
 
static AM_Title Title = new AM_Title()
 
static AM_Sim Sim
 
static AM_ViewZone View
 
static AM_Adv Adv
 
static AM_Region Region
 
static AM_ADV_Target AdvTarget
 
static AM_EloMap EloMap
 
static AM_Inspect Inspect
 
static AM_NoMap NoMap
 
static AM_MiniGame MiniGame
 
static AM_NewZone NewZone
 
static AM_Bird Bird
 
static AM_Mine Mine
 
static AM_Dig Dig
 
static AM_Harvest Harvest
 
static AM_Cut Cut
 
static AM_StateEditor StateEditor
 
static AM_Picker Picker
 
static AM_Copy Copy
 
static AM_Blueprint Blueprint
 
static AM_Build Build
 
static AM_CreateArea CreateArea
 
static AM_EditArea EditArea
 
static AM_ExpandArea ExpandArea
 
static AM_Deconstruct Deconstruct
 
static AM_Select Select
 
static AM_RemoveDesignation RemoveDesignation
 
static AM_ViewMap ViewMap
 
static AM_Terrain Terrain
 
static AM_Populate Populate
 
static AM_EditMarker EditMarker
 
static AM_Visibility Visibility
 
static AM_Cinema Cinema
 
static AM_Paint Paint
 
static AM_FlagCell FlagCell
 
static ActionMode LastBuildMode
 
static SourceMaterial.Row lastEditorMat
 
static bool ignoreSound
 
static float[] GameSpeeds
 
static List< TCSimpleTextsimpleTexts = new List<TCSimpleText>()
 
- Static Public Attributes inherited from EClass
static Core core
 

Protected Attributes

int arrowIndex
 
float timerStartRunning
 
bool cursorMove
 
bool keepWalking
 
Vector3 posOrigin
 
Vector3 posArrow
 
Vector2 vArrow
 
bool updatePlans
 
bool isMoving
 
Vector3 clickPos
 

Properties

PointTarget mouseTarget [get]
 
bool autorun [get]
 
bool ShouldHideTile [get]
 
override float gameSpeed [get]
 
override bool FixFocus [get]
 
override bool ShouldPauseGame [get]
 
override bool AllowWheelZoom [get]
 
override float TargetZoom [get]
 
- Properties inherited from AM_BaseGameMode
override AreaHighlightMode AreaHihlight [get]
 
override bool ShowActionHint [get]
 
override bool HideSubWidgets [get]
 
override BaseTileSelector.HitType hitType [get]
 
override BaseTileSelector.SelectType selectType [get]
 
override BaseGameScreen TargetGameScreen [get]
 
Point hit [get]
 
- Properties inherited from ActionMode
static AM_Adv AdvOrRegion [get]
 
static bool IsAdv [get]
 
virtual float gameSpeed [get]
 
bool IsActive [get]
 
virtual BaseTileSelector.HitType hitType [get]
 
virtual BaseTileSelector.SelectType selectType [get]
 
virtual BaseTileSelector.BoxType boxType [get]
 
virtual bool ContinuousClick [get]
 
virtual int hitW [get]
 
virtual int hitH [get]
 
HitSummary Summary [get]
 
bool Multisize [get]
 
virtual string id [get]
 
virtual CursorInfo DefaultCursor [get]
 
virtual string idHelpTopic [get]
 
virtual string idSound [get]
 
virtual bool enableMouseInfo [get]
 
virtual bool hideBalloon [get]
 
virtual string textHintTitle [get]
 
virtual bool AllowAutoClick [get]
 
virtual bool ShowActionHint [get]
 
virtual bool ShowMouseoverTarget [get]
 
virtual AreaHighlightMode AreaHihlight [get]
 
virtual bool CanSelectTile [get]
 
virtual bool CanTargetOutsideBounds [get]
 
virtual bool ShouldPauseGame [get]
 
virtual bool FixFocus [get]
 
virtual bool HideSubWidgets [get]
 
virtual bool IsBuildMode [get]
 
virtual bool ShowBuildWidgets [get]
 
virtual BuildMenu.Mode buildMenuMode [get]
 
virtual bool ShouldHideBuildMenu [get]
 
virtual bool CanTargetFog [get]
 
virtual int CostMoney [get]
 
virtual bool AllowBuildModeShortcuts [get]
 
virtual bool AllowMiddleClickFunc [get]
 
virtual bool AllowHotbar [get]
 
virtual bool AllowGeneralInput [get]
 
virtual bool ShowMaskedThings [get]
 
virtual int SelectorHeight [get]
 
virtual bool AllowWheelZoom [get]
 
virtual float TargetZoom [get]
 
virtual BaseTileMap.CardIconMode cardIconMode [get]
 
virtual BaseGameScreen TargetGameScreen [get]
 
virtual bool IsNoMap [get]
 
virtual bool UseSubMenu [get]
 
virtual bool UseSubMenuSlider [get]
 
virtual bool SubMenuAsGroup [get]
 
virtual int SubMenuModeIndex [get]
 
virtual bool ShowExtraHint [get]
 
BaseTileSelector tileSelector [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 ActionMode
static void OnGameInstantiated ()
 
- 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 Protected Attributes inherited from ActionMode
static Vector3 mpos
 

Detailed Description

Definition at line 6 of file AM_Adv.cs.

Member Function Documentation

◆ _OnUpdateInput()

override void AM_Adv._OnUpdateInput ( )
virtual

Reimplemented from AM_BaseGameMode.

Definition at line 336 of file AM_Adv.cs.

◆ AxisMove()

void AM_Adv.AxisMove ( )

Definition at line 948 of file AM_Adv.cs.

◆ CanAct()

bool AM_Adv.CanAct ( )

Definition at line 942 of file AM_Adv.cs.

◆ ClearPlans()

void AM_Adv.ClearPlans ( )

Definition at line 296 of file AM_Adv.cs.

◆ EndTurbo()

void AM_Adv.EndTurbo ( )

Definition at line 907 of file AM_Adv.cs.

◆ GetDefaultTile()

override int AM_Adv.GetDefaultTile ( Point p)
virtual

Reimplemented from ActionMode.

Definition at line 162 of file AM_Adv.cs.

◆ HighlightWall()

override bool AM_Adv.HighlightWall ( Point p)
virtual

Reimplemented from ActionMode.

Definition at line 97 of file AM_Adv.cs.

◆ OnActivate()

unsafe override void AM_Adv.OnActivate ( )
virtual

Reimplemented from ActionMode.

Definition at line 103 of file AM_Adv.cs.

◆ OnAfterUpdate()

unsafe override void AM_Adv.OnAfterUpdate ( )
virtual

Reimplemented from ActionMode.

Definition at line 183 of file AM_Adv.cs.

◆ OnBecomeNoGoal()

void AM_Adv.OnBecomeNoGoal ( )

Definition at line 304 of file AM_Adv.cs.

◆ OnBeforeUpdate()

override void AM_Adv.OnBeforeUpdate ( )
virtual

Reimplemented from ActionMode.

Definition at line 172 of file AM_Adv.cs.

◆ OnDeactivate()

override void AM_Adv.OnDeactivate ( )
virtual

Reimplemented from ActionMode.

Definition at line 120 of file AM_Adv.cs.

◆ OnRenderTile()

unsafe override void AM_Adv.OnRenderTile ( Point point,
HitResult result,
int dir )
virtual

Reimplemented from ActionMode.

Definition at line 126 of file AM_Adv.cs.

◆ OnUpdateCursor()

override void AM_Adv.OnUpdateCursor ( )
virtual

Reimplemented from ActionMode.

Definition at line 194 of file AM_Adv.cs.

◆ PressedActionMove()

bool AM_Adv.PressedActionMove ( Point pos)

Definition at line 1071 of file AM_Adv.cs.

◆ RefreshArrow()

virtual unsafe void AM_Adv.RefreshArrow ( )
virtual

Definition at line 1174 of file AM_Adv.cs.

◆ SetManualMove()

void AM_Adv.SetManualMove ( )

Definition at line 1003 of file AM_Adv.cs.

◆ SetPressedAction()

void AM_Adv.SetPressedAction ( ButtonState button)

Definition at line 1015 of file AM_Adv.cs.

◆ SetTurbo()

void AM_Adv.SetTurbo ( int mtp = -1)

Definition at line 890 of file AM_Adv.cs.

◆ ShowAllAction()

void AM_Adv.ShowAllAction ( )

Definition at line 863 of file AM_Adv.cs.

◆ ToggleZoom()

void AM_Adv.ToggleZoom ( )

Definition at line 913 of file AM_Adv.cs.

◆ TryCancelInteraction()

bool AM_Adv.TryCancelInteraction ( bool sound = true)

Definition at line 923 of file AM_Adv.cs.

◆ UpdateLangWheel()

void AM_Adv.UpdateLangWheel ( )

Definition at line 264 of file AM_Adv.cs.

◆ UpdatePlans()

void AM_Adv.UpdatePlans ( )

Definition at line 256 of file AM_Adv.cs.

Member Data Documentation

◆ actCount

int AM_Adv.actCount
static

Definition at line 1261 of file AM_Adv.cs.

◆ arrowIndex

int AM_Adv.arrowIndex
protected

Definition at line 1273 of file AM_Adv.cs.

◆ axisTarget

PointTarget AM_Adv.axisTarget
Initial value:
{
mouse = false
}

Definition at line 1297 of file AM_Adv.cs.

◆ clickPos

Vector3 AM_Adv.clickPos
protected

Definition at line 1351 of file AM_Adv.cs.

◆ cursorMove

bool AM_Adv.cursorMove
protected

Definition at line 1279 of file AM_Adv.cs.

◆ isMoving

bool AM_Adv.isMoving
protected

Definition at line 1339 of file AM_Adv.cs.

◆ keepWalking

bool AM_Adv.keepWalking
protected

Definition at line 1282 of file AM_Adv.cs.

◆ movedByKey

bool AM_Adv.movedByKey

Definition at line 1270 of file AM_Adv.cs.

◆ planAll

ActPlan AM_Adv.planAll
Initial value:
= new ActPlan
{
input = ActInput.AllAction
}

Definition at line 1321 of file AM_Adv.cs.

◆ planKeyboard

ActPlan AM_Adv.planKeyboard
Initial value:
= new ActPlan
{
input = ActInput.Key
}

Definition at line 1315 of file AM_Adv.cs.

◆ planLeft

ActPlan AM_Adv.planLeft
Initial value:
= new ActPlan
{
input = ActInput.LeftMouse
}

Definition at line 1303 of file AM_Adv.cs.

◆ planRight

ActPlan AM_Adv.planRight
Initial value:
= new ActPlan
{
input = ActInput.RightMouse
}

Definition at line 1309 of file AM_Adv.cs.

◆ posArrow

Vector3 AM_Adv.posArrow
protected

Definition at line 1288 of file AM_Adv.cs.

◆ posOrigin

Vector3 AM_Adv.posOrigin
protected

Definition at line 1285 of file AM_Adv.cs.

◆ pressedAction

AM_Adv.PressedAction AM_Adv.pressedAction = new AM_Adv.PressedAction()

Definition at line 1294 of file AM_Adv.cs.

◆ rightMouseTimer

float AM_Adv.rightMouseTimer

Definition at line 1345 of file AM_Adv.cs.

◆ textMiddle

string AM_Adv.textMiddle

Definition at line 1330 of file AM_Adv.cs.

◆ textWheel

string AM_Adv.textWheel

Definition at line 1327 of file AM_Adv.cs.

◆ timerStartRunning

float AM_Adv.timerStartRunning
protected

Definition at line 1276 of file AM_Adv.cs.

◆ turbo

float AM_Adv.turbo
static

Definition at line 1258 of file AM_Adv.cs.

◆ updatePlans

bool AM_Adv.updatePlans
protected

Definition at line 1336 of file AM_Adv.cs.

◆ vArrow

Vector2 AM_Adv.vArrow
protected

Definition at line 1291 of file AM_Adv.cs.

◆ zoomOut

bool AM_Adv.zoomOut

Definition at line 1264 of file AM_Adv.cs.

◆ zoomOut2

bool AM_Adv.zoomOut2

Definition at line 1267 of file AM_Adv.cs.

Property Documentation

◆ AllowWheelZoom

override bool AM_Adv.AllowWheelZoom
get

Definition at line 74 of file AM_Adv.cs.

◆ autorun

bool AM_Adv.autorun
get

Definition at line 20 of file AM_Adv.cs.

◆ FixFocus

override bool AM_Adv.FixFocus
get

Definition at line 54 of file AM_Adv.cs.

◆ gameSpeed

override float AM_Adv.gameSpeed
get

Definition at line 40 of file AM_Adv.cs.

◆ mouseTarget

PointTarget AM_Adv.mouseTarget
get

Definition at line 10 of file AM_Adv.cs.

◆ ShouldHideTile

bool AM_Adv.ShouldHideTile
get

Definition at line 30 of file AM_Adv.cs.

◆ ShouldPauseGame

override bool AM_Adv.ShouldPauseGame
get

Definition at line 64 of file AM_Adv.cs.

◆ TargetZoom

override float AM_Adv.TargetZoom
get

Definition at line 84 of file AM_Adv.cs.


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