Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
HotItemHeld () | |
HotItemHeld (Thing t) | |
override void | OnSetCurrentItem () |
override void | OnUnselect () |
Act | GetAct () |
Act | GetSelfAct () |
override bool | TrySetAct (ActPlan p) |
bool | TrySetToolAct (ActPlan p) |
override void | OnRenderTile (Point point, HitResult result, int dir) |
![]() | |
override Sprite | GetSprite () |
override void | SetImage (Image icon) |
override void | SetSubText (UIText t) |
![]() | |
override void | OnClick (ButtonHotItem b, Hotbar h) |
override void | OnRightClick (ButtonHotItem b) |
override void | OnMarkMapHighlights () |
![]() | |
string | TextHotkey () |
virtual void | OnClick (ButtonHotItem b, Hotbar h) |
virtual void | OnRightClick (ButtonHotItem b) |
virtual bool | CanAutoFire (Chara tg) |
virtual void | OnSetCurrentItem () |
virtual void | OnUnsetCurrentItem () |
virtual void | OnUnselect () |
virtual void | SetImage (Image icon) |
virtual bool | TrySetAct (ActPlan p) |
virtual void | OnMarkMapHighlights () |
virtual void | OnRenderTile (Point point, HitResult result, int dir) |
![]() | |
virtual Sprite | GetSprite () |
virtual Sprite | GetSprite (bool highlight) |
virtual bool | ShouldHighlight () |
virtual void | OnAddedToBar () |
virtual void | OnShowContextMenu (UIContextMenu m) |
virtual void | OnHover (UIButton b) |
virtual void | OnClick (UIButton b) |
virtual void | OnSetItem (UIButton b) |
virtual void | SetSubText (UIText t) |
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] |
![]() | |
override Act | act [get] |
override string | Name [get] |
override bool | IsSelectable [get] |
override Thing | Thing [get] |
override bool | UseUIObjMaterial [get] |
![]() | |
virtual Act | act [get] |
override bool | IsGameAction [get] |
![]() | |
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] |
![]() | |
virtual string | TextTip [get] |
virtual string | Name [get] |
virtual Sprite | SpriteHighlight [get] |
virtual string | pathSprite [get] |
virtual bool | IsSelectable [get] |
virtual bool | AdjustImageSize [get] |
virtual bool | UseIconForHighlight [get] |
virtual bool | KeepVisibleWhenHighlighted [get] |
virtual Color | SpriteColor [get] |
virtual Vector3 | SpriteScale [get] |
virtual bool | Hidden [get] |
virtual Transition | Transition [get] |
Additional Inherited Members | |
![]() | |
Thing | thing |
bool | lost |
Act | _act |
![]() | |
ButtonHotItem | button |
Hotbar | hotbar |
bool | disabled |
![]() | |
bool | always |
Definition at line 3 of file HotItemHeld.cs.
|
inline |
Definition at line 58 of file HotItemHeld.cs.
|
inline |
Definition at line 62 of file HotItemHeld.cs.
References HotItemThing.thing.
|
inlinestatic |
Definition at line 15 of file HotItemHeld.cs.
References EClass._zone, Scene.actionMode, CoreConfig.InputSetting.altChangeHeight, Trait.CanChangeHeight, TaskPoint.CanPerform(), Core.config, EClass.core, Chara.held, CoreConfig.input, ActionMode.IsBuildMode, Spatial.IsRegion, EInput.isShiftDown, Recipe.MaxAltitude, EClass.pc, recipe, EClass.scene, taskBuild, and Card.trait.
Referenced by AM_Adv._OnUpdateInput(), and AM_Adv.UpdateLangWheel().
|
inlinestatic |
Definition at line 28 of file HotItemHeld.cs.
References EClass._zone, ActionMode.Adv, Trait.CanBeOnlyBuiltInHome, Trait.CanBuildInTown, TaskPoint.CanPerform(), ActPlan.HasAct, Chara.held, Zone.IsPCFactionOrTent, Spatial.IsRegion, Scene.mouseTarget, EClass.pc, AM_Adv.planAll, Zone.RestrictBuild, EClass.scene, taskBuild, Card.trait, and ActPlan.Update().
Referenced by AM_Adv._OnUpdateInput(), and AM_Adv.UpdateLangWheel().
|
inline |
Definition at line 103 of file HotItemHeld.cs.
References HotItemThing._act, Card.HasElement(), ACT.Ranged, HotItemThing.thing, and Card.trait.
|
inline |
Definition at line 147 of file HotItemHeld.cs.
References Trait.CanDrink(), Trait.CanEat(), Trait.CanRead(), cook, HotItemThing.lost, EClass.pc, HotItemThing.thing, and Card.trait.
Referenced by TrySetAct().
Reimplemented from HotItem.
Definition at line 427 of file HotItemHeld.cs.
References Recipe._dir, MeshPass.Add(), ActionMode.Build, TaskPoint.CanPerform(), Task.CanProgress(), Game.config, Point.ForeachMultiSize(), EClass.game, BaseGameScreen.guide, Recipe.H, AIAct.IsRunning, Recipe.MultiSize, AM_Build.OnRenderTile(), ScreenGuide.passGuideFloor, EClass.pc, Point.Position(), recipe, TaskBuild.recipe, EClass.screen, Point.Set(), Point.shared, Game.Config.showGuideGrid, taskBuild, Recipe.W, Point.x, and Point.z.
|
inlinevirtual |
Reimplemented from HotItem.
Definition at line 67 of file HotItemHeld.cs.
References HotItemThing._act, RecipeManager.BuildList(), disableTool, Trait.GetRecipe(), Chara.held, Chara.HoldCard(), lastHeld, Trait.OnHeld(), EClass.pc, recipe, taskBuild, HotItemThing.thing, and Card.trait.
|
inlinevirtual |
Reimplemented from HotItem.
Definition at line 93 of file HotItemHeld.cs.
References Chara.held, EClass.pc, Chara.PickHeld(), recipe, taskBuild, and HotItemThing.thing.
|
inlinevirtual |
Reimplemented from HotItem.
Definition at line 177 of file HotItemHeld.cs.
References Recipe._dir, EClass._zone, TileType.AltitudeAsDir, ActionMode.Build, build, Card.c_isImportant, Chara.CanAcceptGift(), Trait.CanExtendBuild, ActThrow.CanThrow(), Trait.CanUse(), ActPlan.cc, Core.config, CoreConfig.GameConfig.confirmGive, Point.Copy(), EClass.core, disableTool, Point.Equals(), Card.Evalue(), Point.FirstVisibleChara(), CoreConfig.game, GetSelfAct(), Chara.GiveGift(), ActPlan.HasAct, Chara.held, if(), Point.Installed, Chara.IsDisabled, Chara.IsNeutralOrAbove(), ActPlan.IsSelf, ActPlan.IsSelfOrNeighbor, EInput.isShiftDown, Trait.IsThrowMainAction, Trait.IsTool, Chara.IsValidGiftWeight(), Trait.LangUse, Scene.mouseTarget, Trait.OnUse(), EClass.pc, ActPlan.pos, Card.pos, recipe, TaskBuild.recipe, EClass.scene, Chara.SplitHeld(), PointTarget.target, taskBuild, HotItemThing.thing, Recipe.tileType, Card.trait, ActPlan.TrySetAct(), Trait.TrySetHeldAct(), and TrySetToolAct().
|
inline |
Definition at line 304 of file HotItemHeld.cs.
References Card.c_charges, TaskMine.CanMine(), Chara.CanSeeSimple(), ActThrow.CanThrow(), Point.cell, Point.FirstChara, ActPlan.HasAct, Cell.HasBlock, Point.HasBridge, Point.HasChara, Card.HasElement(), Cell.HasObj, Card.HasTag(), Point.IsHidden, ActPlan.IsNeighborBlocked, Cell.IsTopWaterAndNoSnow, item, Point.ListVisibleCharas(), TraitToolWaterPot.MaxCharge, Trait.owner, EClass.pc, ActPlan.pos, ACT.Ranged, Cell.sourceObj, Cell.sourceSurface, HotItemThing.thing, Card.trait, TaskHarvest.TryGetAct(), ActPlan.TrySetAct(), and Trait.TrySetHeldAct().
Referenced by TrySetAct().
|
static |
Definition at line 11 of file HotItemHeld.cs.
Referenced by ActPlan._Update(), CharaRenderer.Draw(), Thing.GetSubPassData(), CharaActorPCC.OnRender(), OnSetCurrentItem(), UIPlaceHelper.Refresh(), and TrySetAct().
|
static |
Definition at line 5 of file HotItemHeld.cs.
Referenced by OnSetCurrentItem().
|
static |
Definition at line 9 of file HotItemHeld.cs.
Referenced by CanChangeHeightByWheel(), OnRenderTile(), OnSetCurrentItem(), OnUnselect(), UIPlaceHelper.Refresh(), and TrySetAct().
|
static |
Definition at line 7 of file HotItemHeld.cs.
Referenced by AM_Adv._OnUpdateInput(), CanChangeHeightByWheel(), CanRotate(), OnRenderTile(), OnSetCurrentItem(), OnUnselect(), TrySetAct(), and ActionMode.UpdateInput().
|
get |
Definition at line 13 of file HotItemHeld.cs.