Elin Modding Docs Doc
Loading...
Searching...
No Matches
LayerDragGrid Class Reference
Inheritance diagram for LayerDragGrid:
LayerBaseCraft ELayer

Public Member Functions

void OnOpen ()
 
LayerDragGrid SetInv (InvOwnerDraglet owner, bool refuelFromLayerDragGrid=false)
 
int GetPrice ()
 
void RefreshCost ()
 
bool IsAllGridSet ()
 
override void ClearButtons ()
 
override void RefreshCurrentGrid ()
 
override List< ThingGetTargets ()
 
void Validate ()
 
void Redraw ()
 
override void OnKill ()
 
override void OnUpdateInput ()
 
override void OnRightClick ()
 
- Public Member Functions inherited from LayerBaseCraft
virtual int GetReqIngredient (int index)
 
virtual void OnEndCraft ()
 
- Public Member Functions inherited from ELayer
override void OnBeforeAddLayer ()
 
void InitInspector ()
 
override void Init ()
 
override void OnAfterAddLayer ()
 
void TryShowHelp ()
 
void AddLayerToUI (string id)
 
void TryShowHint (string _langHint=null)
 
void TalkHomeMemeber (string id)
 
void TalkMaid (string id)
 
override void OnRightClick ()
 

Static Public Member Functions

static LayerDragGrid Create (InvOwnerDraglet owner, bool refuelFromLayerDragGrid=false)
 
static LayerDragGrid CreateOffering (TraitAltar altar)
 
static LayerDragGrid CreateDeliver (InvOwnerDeliver.Mode mode=InvOwnerDeliver.Mode.Default, Card owner=null)
 
static LayerDragGrid CreateGive (Chara c)
 
static LayerDragGrid CreateCraft (TraitCrafter crafter)
 
static LayerDragGrid CreateRecycle (TraitRecycle recycle)
 
static LayerDragGrid CreateGacha (TraitGacha gacha)
 
static LayerDragGrid TryProc (Chara cc, InvOwnerEffect owner)
 
static LayerDragGrid CreateIdentify (Chara cc, bool superior=false, BlessedState state=BlessedState.Normal, int price=0, int count=1)
 
static LayerDragGrid CreateEnchant (Chara cc, bool armor, bool superior=false, BlessedState state=BlessedState.Normal, int count=1)
 
static LayerDragGrid CreateChangeMaterial (Chara cc, Thing consume, SourceMaterial.Row mat, EffectId idEffect, BlessedState state=BlessedState.Normal, int price=0, int count=1)
 
static LayerDragGrid CreateUncurse (Chara cc, BlessedState state=BlessedState.Normal, int price=0, int count=1)
 
static LayerDragGrid CreateLighten (Chara cc, BlessedState state=BlessedState.Normal, int price=0, int count=1)
 
static LayerDragGrid CreateReconstruction (Chara cc, BlessedState state=BlessedState.Normal, int price=0, int count=1)
 
- Static Public Member Functions inherited from ELayer
static int rnd (int a)
 

Public Attributes

UIItem itemCost
 
Image imageOwner
 
UIText textTitle
 
UIText textFuel
 
Transform transIndex
 
List< ButtonGridbuttons
 
ButtonGrid buttonOwner
 
UIButton buttonRefuel
 
UIButton buttonAutoRefuel
 
UIButton buttonAlly
 
InvOwnerDraglet owner
 
UICurrency uiCurrency
 
int currentIndex
 
UIDragGridInfo info
 
UIList listAlly
 

Static Public Attributes

static LayerDragGrid Instance
 

Properties

ButtonGrid CurrentButton [get]
 
override bool CanCancelAI [get]
 
override bool RepeatAI [get]
 
- Properties inherited from LayerBaseCraft
virtual bool CanCancelAI [get]
 
virtual bool RepeatAI [get]
 
- Properties inherited from ELayer
static Core core [get]
 
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static FactionBranch Branch [get]
 
static Faction Home [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static CoreConfig config [get]
 
static GameSetting setting [get]
 
static ColorProfile Colors [get]
 
static SourceManager sources [get]
 
static World world [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 
bool IsFloat [get]
 
virtual string IdHelp [get]
 

Additional Inherited Members

- Protected Member Functions inherited from ELayer
override void _Close ()
 
override void Kill ()
 

Detailed Description

Definition at line 7 of file LayerDragGrid.cs.

Member Function Documentation

◆ ClearButtons()

override void LayerDragGrid.ClearButtons ( )
virtual

Reimplemented from LayerBaseCraft.

Definition at line 220 of file LayerDragGrid.cs.

◆ Create()

static LayerDragGrid LayerDragGrid.Create ( InvOwnerDraglet owner,
bool refuelFromLayerDragGrid = false )
static

Definition at line 338 of file LayerDragGrid.cs.

◆ CreateChangeMaterial()

static LayerDragGrid LayerDragGrid.CreateChangeMaterial ( Chara cc,
Thing consume,
SourceMaterial.Row mat,
EffectId idEffect,
BlessedState state = BlessedState::Normal,
int price = 0,
int count = 1 )
static

Definition at line 469 of file LayerDragGrid.cs.

◆ CreateCraft()

static LayerDragGrid LayerDragGrid.CreateCraft ( TraitCrafter crafter)
static

Definition at line 377 of file LayerDragGrid.cs.

◆ CreateDeliver()

static LayerDragGrid LayerDragGrid.CreateDeliver ( InvOwnerDeliver.Mode mode = InvOwnerDeliver::Mode::Default,
Card owner = null )
static

Definition at line 354 of file LayerDragGrid.cs.

◆ CreateEnchant()

static LayerDragGrid LayerDragGrid.CreateEnchant ( Chara cc,
bool armor,
bool superior = false,
BlessedState state = BlessedState::Normal,
int count = 1 )
static

Definition at line 457 of file LayerDragGrid.cs.

◆ CreateGacha()

static LayerDragGrid LayerDragGrid.CreateGacha ( TraitGacha gacha)
static

Definition at line 396 of file LayerDragGrid.cs.

◆ CreateGive()

static LayerDragGrid LayerDragGrid.CreateGive ( Chara c)
static

Definition at line 368 of file LayerDragGrid.cs.

◆ CreateIdentify()

static LayerDragGrid LayerDragGrid.CreateIdentify ( Chara cc,
bool superior = false,
BlessedState state = BlessedState::Normal,
int price = 0,
int count = 1 )
static

Definition at line 445 of file LayerDragGrid.cs.

◆ CreateLighten()

static LayerDragGrid LayerDragGrid.CreateLighten ( Chara cc,
BlessedState state = BlessedState::Normal,
int price = 0,
int count = 1 )
static

Definition at line 494 of file LayerDragGrid.cs.

◆ CreateOffering()

static LayerDragGrid LayerDragGrid.CreateOffering ( TraitAltar altar)
static

Definition at line 344 of file LayerDragGrid.cs.

◆ CreateReconstruction()

static LayerDragGrid LayerDragGrid.CreateReconstruction ( Chara cc,
BlessedState state = BlessedState::Normal,
int price = 0,
int count = 1 )
static

Definition at line 505 of file LayerDragGrid.cs.

◆ CreateRecycle()

static LayerDragGrid LayerDragGrid.CreateRecycle ( TraitRecycle recycle)
static

Definition at line 386 of file LayerDragGrid.cs.

◆ CreateUncurse()

static LayerDragGrid LayerDragGrid.CreateUncurse ( Chara cc,
BlessedState state = BlessedState::Normal,
int price = 0,
int count = 1 )
static

Definition at line 483 of file LayerDragGrid.cs.

◆ GetPrice()

int LayerDragGrid.GetPrice ( )

Definition at line 185 of file LayerDragGrid.cs.

◆ GetTargets()

override List< Thing > LayerDragGrid.GetTargets ( )
virtual

Reimplemented from LayerBaseCraft.

Definition at line 254 of file LayerDragGrid.cs.

◆ IsAllGridSet()

bool LayerDragGrid.IsAllGridSet ( )

Definition at line 207 of file LayerDragGrid.cs.

◆ OnKill()

override void LayerDragGrid.OnKill ( )

Definition at line 301 of file LayerDragGrid.cs.

◆ OnOpen()

void LayerDragGrid.OnOpen ( )

Definition at line 40 of file LayerDragGrid.cs.

◆ OnRightClick()

override void LayerDragGrid.OnRightClick ( )

Definition at line 329 of file LayerDragGrid.cs.

◆ OnUpdateInput()

override void LayerDragGrid.OnUpdateInput ( )

Definition at line 317 of file LayerDragGrid.cs.

◆ Redraw()

void LayerDragGrid.Redraw ( )

Definition at line 288 of file LayerDragGrid.cs.

◆ RefreshCost()

void LayerDragGrid.RefreshCost ( )

Definition at line 191 of file LayerDragGrid.cs.

◆ RefreshCurrentGrid()

override void LayerDragGrid.RefreshCurrentGrid ( )
virtual

Reimplemented from LayerBaseCraft.

Definition at line 230 of file LayerDragGrid.cs.

◆ SetInv()

LayerDragGrid LayerDragGrid.SetInv ( InvOwnerDraglet owner,
bool refuelFromLayerDragGrid = false )

Definition at line 52 of file LayerDragGrid.cs.

◆ TryProc()

static LayerDragGrid LayerDragGrid.TryProc ( Chara cc,
InvOwnerEffect owner )
static

Definition at line 406 of file LayerDragGrid.cs.

◆ Validate()

void LayerDragGrid.Validate ( )

Definition at line 273 of file LayerDragGrid.cs.

Member Data Documentation

◆ buttonAlly

UIButton LayerDragGrid.buttonAlly

Definition at line 546 of file LayerDragGrid.cs.

◆ buttonAutoRefuel

UIButton LayerDragGrid.buttonAutoRefuel

Definition at line 543 of file LayerDragGrid.cs.

◆ buttonOwner

ButtonGrid LayerDragGrid.buttonOwner

Definition at line 537 of file LayerDragGrid.cs.

◆ buttonRefuel

UIButton LayerDragGrid.buttonRefuel

Definition at line 540 of file LayerDragGrid.cs.

◆ buttons

List<ButtonGrid> LayerDragGrid.buttons

Definition at line 534 of file LayerDragGrid.cs.

◆ currentIndex

int LayerDragGrid.currentIndex

Definition at line 555 of file LayerDragGrid.cs.

◆ imageOwner

Image LayerDragGrid.imageOwner

Definition at line 522 of file LayerDragGrid.cs.

◆ info

UIDragGridInfo LayerDragGrid.info

Definition at line 558 of file LayerDragGrid.cs.

◆ Instance

LayerDragGrid LayerDragGrid.Instance
static

Definition at line 516 of file LayerDragGrid.cs.

◆ itemCost

UIItem LayerDragGrid.itemCost

Definition at line 519 of file LayerDragGrid.cs.

◆ listAlly

UIList LayerDragGrid.listAlly

Definition at line 561 of file LayerDragGrid.cs.

◆ owner

InvOwnerDraglet LayerDragGrid.owner

Definition at line 549 of file LayerDragGrid.cs.

◆ textFuel

UIText LayerDragGrid.textFuel

Definition at line 528 of file LayerDragGrid.cs.

◆ textTitle

UIText LayerDragGrid.textTitle

Definition at line 525 of file LayerDragGrid.cs.

◆ transIndex

Transform LayerDragGrid.transIndex

Definition at line 531 of file LayerDragGrid.cs.

◆ uiCurrency

UICurrency LayerDragGrid.uiCurrency

Definition at line 552 of file LayerDragGrid.cs.

Property Documentation

◆ CanCancelAI

override bool LayerDragGrid.CanCancelAI
get

Definition at line 21 of file LayerDragGrid.cs.

◆ CurrentButton

ButtonGrid LayerDragGrid.CurrentButton
get

Definition at line 11 of file LayerDragGrid.cs.

◆ RepeatAI

override bool LayerDragGrid.RepeatAI
get

Definition at line 31 of file LayerDragGrid.cs.


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