Elin Modding Docs Doc
Loading...
Searching...
No Matches
InvOwnerDraglet Class Reference
Inheritance diagram for InvOwnerDraglet:
InvOwner EClass InvOwnerBlend InvOwnerCraft InvOwnerDeliver InvOwnerDeliverBox InvOwnerEffect InvOwnerGacha InvOwnerGene InvOwnerGive InvOwnerMod InvOwnerOffering InvOwnerRecycle InvOwnerRefuel

Public Types

enum  ProcessType { None , Consume }
 

Public Member Functions

override bool AllowHold (Thing t)
 
 InvOwnerDraglet (Card owner=null, Card container=null, CurrencyType _currency=CurrencyType.Money)
 
override void OnInit ()
 
override void OnClick (ButtonGrid button)
 
override void OnRightClick (ButtonGrid button)
 
override int GetPrice (Thing t, CurrencyType currency, int num, bool sell)
 
override string GetTextDetail (Thing t, CurrencyType currency, int num, bool sell)
 
override void OnProcess (Thing t)
 
virtual void _OnProcess (Thing t)
 
virtual void OnAfterRefuel ()
 
void RedrawButton ()
 
override void BuildUICurrency (UICurrency uiCurrency, bool canReroll=false)
 
- Public Member Functions inherited from InvOwner
virtual bool AllowMoved (Thing t)
 
virtual bool ShouldShowGuide (Thing t)
 
virtual bool AllowDrop (Thing t)
 
virtual Thing CreateDefaultContainer ()
 
bool IsWeightOver (Thing t)
 
 InvOwner (Card owner, Card container=null, CurrencyType _currency=CurrencyType.None, PriceType _price=PriceType.Default)
 
void Init ()
 
virtual void OnRightPressed (ButtonGrid button)
 
InvOwner GetShitDestOwner (ButtonGrid b, bool rightMouse=false)
 
virtual void OnShiftClick (ButtonGrid b, bool rightMouse=false)
 
virtual bool CanShiftClick (ButtonGrid b, bool rightMouse=false)
 
virtual string GetTextShiftClick (ButtonGrid b)
 
virtual void OnCtrlClick (ButtonGrid button)
 
virtual bool CanCtrlClick (ButtonGrid b)
 
virtual string GetTextCtrlClick (ButtonGrid b)
 
virtual void OnAltClick (ButtonGrid button)
 
virtual bool CanAltClick (ButtonGrid b)
 
virtual string GetTextAltClick (ButtonGrid b)
 
void Grab (DragItemCard.DragInfo from)
 
Thing PutBack (DragItemCard.DragInfo from)
 
void OnStartDrag (DragItemCard.DragInfo from)
 
virtual bool OnCancelDrag (DragItemCard.DragInfo from)
 
bool OnDrag (DragItemCard.DragInfo from, DragItemCard.DragInfo to, bool execute, bool cancel=false)
 
bool CanOpenContainer (Thing t)
 
InvOwner.ListInteraction ListInteractions (ButtonGrid b, bool context)
 
bool TryHold (Thing t)
 
virtual void ListInteractions (InvOwner.ListInteraction list, Thing t, Trait trait, ButtonGrid b, bool context)
 
virtual string GetAutoUseLang (ButtonGrid button)
 
void AutoUse (ButtonGrid button, bool repeat=false)
 
void ShowContextMenu (ButtonGrid button)
 
virtual void OnWriteNote (ButtonGrid button, UINote n)
 
virtual string IDCostIcon (Thing t)
 
virtual bool IsFailByCurse (Thing t)
 

Public Attributes

int count = -1
 
BlessedState state
 
int price
 
- Public Attributes inherited from InvOwner
bool includeChildren
 
CurrencyType currency
 
PriceType priceType
 
HomeResource homeResource
 
Card owner
 
Card Container
 
List< ButtonGridbuttons = new List<ButtonGrid>()
 

Properties

virtual InvOwnerDraglet.ProcessType processType [get]
 
virtual bool ShowFuel [get]
 
virtual bool CanTargetAlly [get]
 
virtual string langWhat [get]
 
override bool AllowTransfer [get]
 
override bool AllowAutouse [get]
 
override bool AllowContext [get]
 
override bool UseGuide [get]
 
override bool CopyOnTransfer [get]
 
override bool InvertSell [get]
 
override bool DenyImportant [get]
 
LayerDragGrid dragGrid [get]
 
- Properties inherited from InvOwner
static bool HasTrader [get]
 
static bool FreeTransfer [get]
 
virtual bool AllowAutouse [get]
 
virtual bool AllowContext [get]
 
virtual bool AllowSell [get]
 
virtual bool AlwaysShowTooltip [get]
 
virtual bool UseGuide [get]
 
virtual bool AllowTransfer [get]
 
virtual bool AllowDropOnDrag [get]
 
virtual string langTransfer [get]
 
virtual int destInvY [get]
 
virtual bool HasTransaction [get]
 
virtual bool CopyOnTransfer [get]
 
virtual bool SingleTarget [get]
 
bool UseHomeResource [get]
 
bool IsMagicChest [get]
 
List< ThingThings [get]
 
Chara Chara [get]
 
ContainerType ContainerType [get]
 
virtual bool InvertSell [get]
 
virtual int numDragGrid [get]
 
virtual bool ShowNew [get]
 
virtual bool DenyImportant [get]
 
InvOwner destInvOwner [get]
 
string IDCurrency [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)
 
- Static Public Attributes inherited from InvOwner
static InvOwner.ForceGiveData forceGive = new InvOwner.ForceGiveData()
 
static InvOwner Trader
 
static InvOwner Main
 
static float clickTimer
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 9 of file InvOwnerDraglet.cs.

Member Enumeration Documentation

◆ ProcessType

enum InvOwnerDraglet.ProcessType

Definition at line 281 of file InvOwnerDraglet.cs.

Constructor & Destructor Documentation

◆ InvOwnerDraglet()

InvOwnerDraglet.InvOwnerDraglet ( Card owner = null,
Card container = null,
CurrencyType _currency = CurrencyType::Money )

Definition at line 138 of file InvOwnerDraglet.cs.

Member Function Documentation

◆ _OnProcess()

virtual void InvOwnerDraglet._OnProcess ( Thing t)
virtual

Definition at line 248 of file InvOwnerDraglet.cs.

◆ AllowHold()

override bool InvOwnerDraglet.AllowHold ( Thing t)
virtual

Reimplemented from InvOwner.

Definition at line 82 of file InvOwnerDraglet.cs.

◆ BuildUICurrency()

override void InvOwnerDraglet.BuildUICurrency ( UICurrency uiCurrency,
bool canReroll = false )
virtual

Reimplemented from InvOwner.

Definition at line 265 of file InvOwnerDraglet.cs.

◆ GetPrice()

override int InvOwnerDraglet.GetPrice ( Thing t,
CurrencyType currency,
int num,
bool sell )
virtual

Reimplemented from InvOwner.

Definition at line 184 of file InvOwnerDraglet.cs.

◆ GetTextDetail()

override string InvOwnerDraglet.GetTextDetail ( Thing t,
CurrencyType currency,
int num,
bool sell )
virtual

Reimplemented from InvOwner.

Definition at line 190 of file InvOwnerDraglet.cs.

◆ OnAfterRefuel()

virtual void InvOwnerDraglet.OnAfterRefuel ( )
virtual

Definition at line 253 of file InvOwnerDraglet.cs.

◆ OnClick()

override void InvOwnerDraglet.OnClick ( ButtonGrid button)
virtual

Reimplemented from InvOwner.

Definition at line 156 of file InvOwnerDraglet.cs.

◆ OnInit()

override void InvOwnerDraglet.OnInit ( )
virtual

Reimplemented from InvOwner.

Definition at line 143 of file InvOwnerDraglet.cs.

◆ OnProcess()

override void InvOwnerDraglet.OnProcess ( Thing t)
sealedvirtual

Reimplemented from InvOwner.

Definition at line 197 of file InvOwnerDraglet.cs.

◆ OnRightClick()

override void InvOwnerDraglet.OnRightClick ( ButtonGrid button)
virtual

Reimplemented from InvOwner.

Definition at line 178 of file InvOwnerDraglet.cs.

◆ RedrawButton()

void InvOwnerDraglet.RedrawButton ( )

Definition at line 258 of file InvOwnerDraglet.cs.

Member Data Documentation

◆ count

int InvOwnerDraglet.count = -1

Definition at line 272 of file InvOwnerDraglet.cs.

◆ price

int InvOwnerDraglet.price

Definition at line 278 of file InvOwnerDraglet.cs.

◆ state

BlessedState InvOwnerDraglet.state

Definition at line 275 of file InvOwnerDraglet.cs.

Property Documentation

◆ AllowAutouse

override bool InvOwnerDraglet.AllowAutouse
get

Definition at line 63 of file InvOwnerDraglet.cs.

◆ AllowContext

override bool InvOwnerDraglet.AllowContext
get

Definition at line 73 of file InvOwnerDraglet.cs.

◆ AllowTransfer

override bool InvOwnerDraglet.AllowTransfer
get

Definition at line 53 of file InvOwnerDraglet.cs.

◆ CanTargetAlly

virtual bool InvOwnerDraglet.CanTargetAlly
get

Definition at line 33 of file InvOwnerDraglet.cs.

◆ CopyOnTransfer

override bool InvOwnerDraglet.CopyOnTransfer
get

Definition at line 99 of file InvOwnerDraglet.cs.

◆ DenyImportant

override bool InvOwnerDraglet.DenyImportant
get

Definition at line 119 of file InvOwnerDraglet.cs.

◆ dragGrid

LayerDragGrid InvOwnerDraglet.dragGrid
get

Definition at line 129 of file InvOwnerDraglet.cs.

◆ InvertSell

override bool InvOwnerDraglet.InvertSell
get

Definition at line 109 of file InvOwnerDraglet.cs.

◆ langWhat

virtual string InvOwnerDraglet.langWhat
get

Definition at line 43 of file InvOwnerDraglet.cs.

◆ processType

virtual InvOwnerDraglet.ProcessType InvOwnerDraglet.processType
get

Definition at line 13 of file InvOwnerDraglet.cs.

◆ ShowFuel

virtual bool InvOwnerDraglet.ShowFuel
get

Definition at line 23 of file InvOwnerDraglet.cs.

◆ UseGuide

override bool InvOwnerDraglet.UseGuide
get

Definition at line 89 of file InvOwnerDraglet.cs.


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