Elin Modding Docs Doc
Loading...
Searching...
No Matches
HotItemHeld Class Reference
Inheritance diagram for HotItemHeld:
HotItemThing HotItemGameAction HotItem

Public Member Functions

 HotItemHeld (Thing t)
 
override void OnSetCurrentItem ()
 
override void OnUnselect ()
 
Act GetAct ()
 
Act GetSelfAct ()
 
override bool TrySetAct (ActPlan p)
 
bool TrySetToolAct (ActPlan p)
 
unsafe override void OnRenderTile (Point point, HitResult result, int dir)
 
- Public Member Functions inherited from HotItemThing
override Sprite GetSprite ()
 
override void SetImage (Image icon)
 
override void SetSubText (UIText t)
 
- Public Member Functions inherited from HotItemGameAction
override void OnClick (ButtonHotItem b, Hotbar h)
 
override void OnRightClick (ButtonHotItem b)
 
override void OnMarkMapHighlights ()
 
- Public Member Functions inherited from HotItem
string TextHotkey ()
 
virtual bool CanAutoFire (Chara tg)
 
virtual void OnUnsetCurrentItem ()
 

Static Public Member Functions

static bool CanChangeHeightByWheel ()
 
static bool CanRotate ()
 

Static Public Attributes

static Thing lastHeld
 
static TaskBuild taskBuild
 
static Recipe recipe
 
static bool disableTool
 

Properties

override Act act [get]
 
- Properties inherited from HotItemThing
override Act act [get]
 
override string Name [get]
 
override bool IsSelectable [get]
 
override Thing Thing [get]
 
override bool UseUIObjMaterial [get]
 
- Properties inherited from HotItemGameAction
virtual Act act [get]
 
override bool IsGameAction [get]
 
- Properties inherited from HotItem
override Sprite SpriteHighlight [get]
 
override bool IsSelectable [get]
 
override string TextTip [get]
 
virtual Thing RenderThing [get]
 
virtual Thing Thing [get]
 
virtual Thing Tool [get]
 
virtual bool IsTool [get]
 
virtual bool LookAtMouse [get]
 
virtual bool IsGameAction [get]
 
virtual bool UseUIObjMaterial [get]
 

Additional Inherited Members

- Public Attributes inherited from HotItemThing
Thing thing
 
bool lost
 
Act _act
 
- Public Attributes inherited from HotItem
ButtonHotItem button
 
Hotbar hotbar
 
bool disabled
 

Detailed Description

Definition at line 5 of file HotItemHeld.cs.

Constructor & Destructor Documentation

◆ HotItemHeld() [1/2]

HotItemHeld.HotItemHeld ( )

Definition at line 30 of file HotItemHeld.cs.

◆ HotItemHeld() [2/2]

HotItemHeld.HotItemHeld ( Thing t)

Definition at line 35 of file HotItemHeld.cs.

Member Function Documentation

◆ CanChangeHeightByWheel()

static bool HotItemHeld.CanChangeHeightByWheel ( )
static

Definition at line 8 of file HotItemHeld.cs.

◆ CanRotate()

static bool HotItemHeld.CanRotate ( )
static

Definition at line 14 of file HotItemHeld.cs.

◆ GetAct()

Act HotItemHeld.GetAct ( )

Definition at line 79 of file HotItemHeld.cs.

◆ GetSelfAct()

Act HotItemHeld.GetSelfAct ( )

Definition at line 124 of file HotItemHeld.cs.

◆ OnRenderTile()

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

Reimplemented from HotItem.

Definition at line 397 of file HotItemHeld.cs.

◆ OnSetCurrentItem()

override void HotItemHeld.OnSetCurrentItem ( )
virtual

Reimplemented from HotItem.

Definition at line 41 of file HotItemHeld.cs.

◆ OnUnselect()

override void HotItemHeld.OnUnselect ( )
virtual

Reimplemented from HotItem.

Definition at line 68 of file HotItemHeld.cs.

◆ TrySetAct()

override bool HotItemHeld.TrySetAct ( ActPlan p)
virtual

Reimplemented from HotItem.

Definition at line 155 of file HotItemHeld.cs.

◆ TrySetToolAct()

bool HotItemHeld.TrySetToolAct ( ActPlan p)

Definition at line 274 of file HotItemHeld.cs.

Member Data Documentation

◆ disableTool

bool HotItemHeld.disableTool
static

Definition at line 445 of file HotItemHeld.cs.

◆ lastHeld

Thing HotItemHeld.lastHeld
static

Definition at line 436 of file HotItemHeld.cs.

◆ recipe

Recipe HotItemHeld.recipe
static

Definition at line 442 of file HotItemHeld.cs.

◆ taskBuild

TaskBuild HotItemHeld.taskBuild
static

Definition at line 439 of file HotItemHeld.cs.

Property Documentation

◆ act

override Act HotItemHeld.act
get

Definition at line 21 of file HotItemHeld.cs.


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