Logo
Classes | Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
Yukar.Engine.MenuControllerBase Class Referenceabstract

Base class for menu management More...

Inheritance diagram for Yukar.Engine.MenuControllerBase:
Yukar.Engine.LayoutMenuController

Classes

class  ImageInstance
 Information about loaded textures
 
class  ParamSet
 Structure for passing parameters from MapScene
 

Public Types

enum  WindowTypes { NONE , MESSAGE , DIALOGUE , TELOP }
 Message type window type More...
 

Public Member Functions

void Reset ()
 initialize More...
 
virtual void ResetLayout (Common.Rom.LayoutProperties.LayoutNode.UsageInGame usage)
 
void RefreshPartyChr ()
 Update party characters More...
 
abstract void Show ()
 indicate More...
 
abstract void ShowSaveScreen ()
 Show save window More...
 
abstract void ShowTitleScreen ()
 Display the title screen More...
 
abstract void HideTitleScreen ()
 Close title screen More...
 
abstract void ShowItemMenuScreen (Guid? layout=null)
 Show item selection More...
 
virtual void ShowShop (Guid layoutGuid, Common.Rom.NItem[] items, int[] prices)
 view shop More...
 
virtual int ShowMessage (string message, int winAlign, WindowTypes winType, Guid sender)
 Show message window More...
 
virtual int ShowDialogue (string message, int winAlign, WindowTypes winType, Guid sender)
 Show conversation window More...
 
abstract bool IsClosing ()
 is it closed More...
 
abstract bool isVisible ()
 are you displaying More...
 
virtual bool isVisibleMainMenu ()
 
virtual bool isVisibleShop ()
 is the shop visible? More...
 
virtual bool isVisibleSave ()
 Is the save screen displayed? More...
 
virtual bool isVisibleItemMenu ()
 Show item selection More...
 
virtual bool isVisibleTitle ()
 Is the title screen displayed? More...
 
virtual bool isVisibleMessage ()
 message is displayed More...
 
virtual bool isVisibleDialogue ()
 Are conversations visible? More...
 
virtual bool isVisibleTelop ()
 Are conversations visible? More...
 
virtual bool isVisibleInn ()
 Is the inn displayed? More...
 
virtual bool isVisibleChoices ()
 Are the options visible? More...
 
virtual bool isVisiblItemTrash ()
 Is there a screen to discard items? More...
 
virtual bool isVisiblToast ()
 Is the toast displayed? More...
 
virtual bool isVisibleEvent (Guid guid)
 Is the layout displayed at the event displayed? More...
 
abstract void AdjustBalloonRect (int x, int y, bool isDialogue=false)
 

Protected Member Functions

virtual void Release ()
 

Properties

SceneBase Parent [get, set]
 map scene More...
 

Detailed Description

Base class for menu management

Member Enumeration Documentation

◆ WindowTypes

Message type window type

Enumerator
NONE 
MESSAGE 
DIALOGUE 
TELOP 

Member Function Documentation

◆ AdjustBalloonRect()

abstract void Yukar.Engine.MenuControllerBase.AdjustBalloonRect ( int  x,
int  y,
bool  isDialogue = false 
)
pure virtual

◆ HideTitleScreen()

abstract void Yukar.Engine.MenuControllerBase.HideTitleScreen ( )
pure virtual

Close title screen

Implemented in Yukar.Engine.LayoutMenuController.

◆ IsClosing()

abstract bool Yukar.Engine.MenuControllerBase.IsClosing ( )
pure virtual

is it closed

Returns

Implemented in Yukar.Engine.LayoutMenuController.

◆ isVisible()

abstract bool Yukar.Engine.MenuControllerBase.isVisible ( )
pure virtual

are you displaying

Returns

Implemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleChoices()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleChoices ( )
virtual

Are the options visible?

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleDialogue()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleDialogue ( )
virtual

Are conversations visible?

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleEvent()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleEvent ( Guid  guid)
virtual

Is the layout displayed at the event displayed?

Parameters
guidGUID of layout to check
Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleInn()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleInn ( )
virtual

Is the inn displayed?

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleItemMenu()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleItemMenu ( )
virtual

Show item selection

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleMainMenu()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleMainMenu ( )
virtual

◆ isVisibleMessage()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleMessage ( )
virtual

message is displayed

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleSave()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleSave ( )
virtual

Is the save screen displayed?

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleShop()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleShop ( )
virtual

is the shop visible?

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleTelop()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleTelop ( )
virtual

Are conversations visible?

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisibleTitle()

virtual bool Yukar.Engine.MenuControllerBase.isVisibleTitle ( )
virtual

Is the title screen displayed?

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisiblItemTrash()

virtual bool Yukar.Engine.MenuControllerBase.isVisiblItemTrash ( )
virtual

Is there a screen to discard items?

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ isVisiblToast()

virtual bool Yukar.Engine.MenuControllerBase.isVisiblToast ( )
virtual

Is the toast displayed?

Returns

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ RefreshPartyChr()

void Yukar.Engine.MenuControllerBase.RefreshPartyChr ( )

Update party characters

◆ Release()

virtual void Yukar.Engine.MenuControllerBase.Release ( )
protectedvirtual

◆ Reset()

void Yukar.Engine.MenuControllerBase.Reset ( )

initialize

◆ ResetLayout()

virtual void Yukar.Engine.MenuControllerBase.ResetLayout ( Common.Rom.LayoutProperties.LayoutNode.UsageInGame  usage)
virtual

◆ Show()

abstract void Yukar.Engine.MenuControllerBase.Show ( )
pure virtual

indicate

Implemented in Yukar.Engine.LayoutMenuController.

◆ ShowDialogue()

virtual int Yukar.Engine.MenuControllerBase.ShowDialogue ( string  message,
int  winAlign,
WindowTypes  winType,
Guid  sender 
)
virtual

Show conversation window

Parameters
messagestring to display
winAlignwindow position
winTypeWindow type
leftCharacterPropertyCharacter information on the left
rightCharacterPropertyCharacter information on the right

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ ShowItemMenuScreen()

abstract void Yukar.Engine.MenuControllerBase.ShowItemMenuScreen ( Guid?  layout = null)
pure virtual

Show item selection

Implemented in Yukar.Engine.LayoutMenuController.

◆ ShowMessage()

virtual int Yukar.Engine.MenuControllerBase.ShowMessage ( string  message,
int  winAlign,
WindowTypes  winType,
Guid  sender 
)
virtual

Show message window

Parameters
messagestring to display
winAlignwindow position
winTypeWindow type

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ ShowSaveScreen()

abstract void Yukar.Engine.MenuControllerBase.ShowSaveScreen ( )
pure virtual

Show save window

Implemented in Yukar.Engine.LayoutMenuController.

◆ ShowShop()

virtual void Yukar.Engine.MenuControllerBase.ShowShop ( Guid  layoutGuid,
Common.Rom.NItem[]  items,
int[]  prices 
)
virtual

view shop

Parameters
layoutGuidGuid of the layout to open
itemssale item
pricesSelling item price

Reimplemented in Yukar.Engine.LayoutMenuController.

◆ ShowTitleScreen()

abstract void Yukar.Engine.MenuControllerBase.ShowTitleScreen ( )
pure virtual

Display the title screen

Implemented in Yukar.Engine.LayoutMenuController.

Property Documentation

◆ Parent

SceneBase Yukar.Engine.MenuControllerBase.Parent
getset

map scene