Logo
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Yukar.Engine.LayoutStateItemTrash Class Reference

Action to discard items in layout More...

Inheritance diagram for Yukar.Engine.LayoutStateItemTrash:
Yukar.Engine.AbstractLayoutState

Public Types

enum  TrashMode { ADD_NEW_ITEM , JUST_THROW_AWAY , JUST_THROW_AWAY_NOT_CANCELLABLE }
 discard mode More...
 
- Public Types inherited from Yukar.Engine.AbstractLayoutState
enum  SetVariableSituation { SELECT , DECIDE , CANCEL }
 Enumeration type representing variable setting status More...
 

Public Member Functions

override bool Select ()
 Execute selection process More...
 
override bool Decide ()
 Execute the process when the OK button is pressed More...
 
override bool Cancel ()
 Execute the process when the cancel button is pressed More...
 
override IEnumerable< Common.Rom.MenuSettings.MenuItem.ActionTypeGetAvailableLayoutActions ()
 
- Public Member Functions inherited from Yukar.Engine.AbstractLayoutState
 AbstractLayoutState (LayoutManager layoutManager)
 Constructor for AbstractLayoutState class More...
 
void Initialize ()
 Initialization process More...
 
void InitializeConfig ()
 Initialize setting values More...
 
void InitializeConfigAll ()
 Initialize all setting values More...
 
virtual void Terminate ()
 End processing More...
 
void Update ()
 Update process (also called when locked) More...
 
virtual void BeforeSelect ()
 Perform pre-selection processing More...
 
virtual bool Select ()
 Selected behavior (called every frame) More...
 
void AfterSelect ()
 Performs post-selection processing More...
 
virtual bool Decide ()
 Behavior when pressing the OK button More...
 
virtual double GetSelectedVariableValue ()
 Get the value of the selected variable More...
 
virtual void AutoSort (Common.Rom.MenuSettings.MenuItem.SortTypes sortType)
 perform automatic sorting More...
 
void SortItem (Common.Rom.MenuSettings.MenuItem.SortTypes sortType)
 sort items More...
 
void SortSkill (Common.Rom.MenuSettings.MenuItem.SortTypes sortType)
 Sort skills More...
 
void SetVariableValue (SetVariableSituation situation)
 
virtual bool Cancel ()
 Behavior when pressing the cancel button More...
 
bool IsRunningEvent ()
 Determine if event is running More...
 
void UpdateGameContent ()
 Update display information (previous layout is also updated) More...
 
void ConfigureContentProperty ()
 Set number of containers (updates previous layout) More...
 
void ChangeRenderStatus ()
 Update color information such as disabled (updates previous layout) More...
 
virtual void SetBattleDisplay (bool isBattle)
 Set the battle display state More...
 
virtual IEnumerable< MenuSettings.MenuItem.ActionTypeGetAvailableLayoutActions ()
 

Static Public Attributes

static bool isCancelled = false
 

Protected Member Functions

override void InitializeCallback ()
 Initialization callback More...
 
override void UpdateGameContentCallBack ()
 
override void UpdateGameContentEndCallBack ()
 
override void ConfigureContentPropertyCallBack ()
 
override void ChangeRenderStatusCallBack ()
 
override void CreateItems ()
 Process to generate selection items More...
 
- Protected Member Functions inherited from Yukar.Engine.AbstractLayoutState
virtual void InitializeCallback ()
 Initialization callback More...
 
virtual void UpdateGameContentCallBack ()
 
virtual void UpdateGameContentEndCallBack ()
 
virtual void ConfigureContentPropertyCallBack ()
 
virtual void ChangeRenderStatusCallBack ()
 
virtual void CreateItems ()
 Process to generate selection items More...
 
bool OpenSelectLayout ()
 
void HideAllLayout ()
 hide all layouts including children More...
 
void BackToPrevious ()
 Return to previous open layout More...
 
void SetSelectPropertyForSaveData ()
 
void SetSelectPropertyForItemDictionary ()
 
void SetSelectPropertyForSkillDictionary ()
 
void SetSelectPropertyForCastDictionary ()
 
void SetSelectPropertyForCasts ()
 TODO: Filter compatible More...
 
void SetSelectPropertyForReserves ()
 
void SetSelectPropertyForItem ()
 
void SetSelectPropertyForSkill ()
 
bool ProcessAfterSkillEffect ()
 Processes when it is necessary to exit the menu as a result of activating a skill effect on the map More...
 
IEnumerable< MenuSettings.MenuItem.ActionTypeGetAvailableLayoutActions (bool supportOpenLayout, bool supportExecCommon)
 

Additional Inherited Members

- Static Public Member Functions inherited from Yukar.Engine.AbstractLayoutState
static void SetVariableValueImpl (SetVariableSituation situation, LayoutDrawer layoutDrawer, Common.GameData.SystemData system, double value)
 
static IEnumerable< MenuSettings.MenuItem.ActionTypeGetConfigActions ()
 
static IEnumerable< MenuSettings.MenuItem.ActionTypeGetShortcutActions ()
 
static IEnumerable< MenuSettings.MenuItem.ActionTypeGetOtherActions (IEnumerable< MenuSettings.MenuItem.ActionType > actions, bool removeConfigAndShortcut)
 
- Public Attributes inherited from Yukar.Engine.AbstractLayoutState
LayoutItemListGenerator items = new LayoutItemListGenerator()
 Layout item list generator More...
 
- Protected Attributes inherited from Yukar.Engine.AbstractLayoutState
LayoutManager layoutManager
 
bool skipBattleReplace = false
 
- Properties inherited from Yukar.Engine.AbstractLayoutState
LayoutDrawer LayoutDrawer [get]
 
AbstractRenderObject.GameContent GameContent [get]
 
AbstractRenderObject.RenderStatus RenderStatus [get]
 
AbstractRenderObject.RenderStatus RenderStatusSub [get]
 
LayoutManager.SelectProperty SelectProperty [get, set]
 
GameMain GameMain [get]
 

Detailed Description

Action to discard items in layout

Member Enumeration Documentation

◆ TrashMode

discard mode

Enumerator
ADD_NEW_ITEM 
JUST_THROW_AWAY 
JUST_THROW_AWAY_NOT_CANCELLABLE 

Member Function Documentation

◆ Cancel()

override bool Yukar.Engine.LayoutStateItemTrash.Cancel ( )
virtual

Execute the process when the cancel button is pressed

Returns
true if the process was successful, false if it failed

Reimplemented from Yukar.Engine.AbstractLayoutState.

◆ ChangeRenderStatusCallBack()

override void Yukar.Engine.LayoutStateItemTrash.ChangeRenderStatusCallBack ( )
protectedvirtual

Reimplemented from Yukar.Engine.AbstractLayoutState.

◆ ConfigureContentPropertyCallBack()

override void Yukar.Engine.LayoutStateItemTrash.ConfigureContentPropertyCallBack ( )
protectedvirtual

Reimplemented from Yukar.Engine.AbstractLayoutState.

◆ CreateItems()

override void Yukar.Engine.LayoutStateItemTrash.CreateItems ( )
protectedvirtual

Process to generate selection items

Reimplemented from Yukar.Engine.AbstractLayoutState.

◆ Decide()

override bool Yukar.Engine.LayoutStateItemTrash.Decide ( )
virtual

Execute the process when the OK button is pressed

Returns
true if the process was successful, false if it failed

Reimplemented from Yukar.Engine.AbstractLayoutState.

◆ GetAvailableLayoutActions()

override IEnumerable< Common.Rom.MenuSettings.MenuItem.ActionType > Yukar.Engine.LayoutStateItemTrash.GetAvailableLayoutActions ( )
virtual

Reimplemented from Yukar.Engine.AbstractLayoutState.

◆ InitializeCallback()

override void Yukar.Engine.LayoutStateItemTrash.InitializeCallback ( )
protectedvirtual

Initialization callback

Reimplemented from Yukar.Engine.AbstractLayoutState.

◆ Select()

override bool Yukar.Engine.LayoutStateItemTrash.Select ( )
virtual

Execute selection process

Returns
true if the process was successful, false if it failed

Reimplemented from Yukar.Engine.AbstractLayoutState.

◆ UpdateGameContentCallBack()

override void Yukar.Engine.LayoutStateItemTrash.UpdateGameContentCallBack ( )
protectedvirtual

Reimplemented from Yukar.Engine.AbstractLayoutState.

◆ UpdateGameContentEndCallBack()

override void Yukar.Engine.LayoutStateItemTrash.UpdateGameContentEndCallBack ( )
protectedvirtual

Reimplemented from Yukar.Engine.AbstractLayoutState.

Member Data Documentation

◆ isCancelled

bool Yukar.Engine.LayoutStateItemTrash.isCancelled = false
static