Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.ComponentGui
类 Game.ComponentGui 继承关系图:
Game.ComponentGui 的协作图:

class  ModalPanelAnimationData
class  Message

Public 成员函数

virtual void DisplayLargeMessage (string largeText, string smallText, float duration, float delay)
virtual void DisplaySmallMessage (string text, Color color, bool blinking, bool playNotificationSound)
virtual void DisplaySmallMessage (string text, Color color, bool blinking, bool playNotificationSound, float fontScale=1f)
virtual void DisplaySmallMessage (MessageWidget.Message message, bool playNotificationSound)
 模组如果需要自定义类型的DisplaySmallMessage,比如彩虹渐变色的Message,可以自己建立对应的Message类型,并调用这个方法
virtual bool IsGameMenuDialogVisible ()
virtual void Update (float dt)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
override void Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap)
override void OnEntityAdded ()
override void OnEntityRemoved ()
override void Dispose ()
virtual void UpdateSidePanelsAnimation ()
virtual void UpdateModalPanelAnimation ()
virtual void EndModalPanelAnimation ()
virtual void UpdateWidgets ()
virtual void HandleInput ()
virtual bool IsClothingVisible ()
virtual bool IsInventoryVisible ()
virtual bool IsActiveSlotEditable ()
virtual void Draw (Camera camera, int drawOrder)
Public 成员函数 继承自 GameEntitySystem.Component
virtual IEnumerable< EntityGetOwnedEntities ()
virtual void InheritFromComponent (Component baseComponent)
virtual void Initialize (Entity entity, ValuesDictionary valuesDictionary)

Public 属性

SubsystemGameInfo m_subsystemGameInfo
SubsystemAudio m_subsystemAudio
SubsystemTimeOfDay m_subsystemTimeOfDay
SubsystemTerrain m_subsystemTerrain
SubsystemSky m_subsystemSky
SubsystemWeather m_subsystemWeather
SubsystemBlockBehaviors m_subsystemBlockBehaviors
ComponentPlayer m_componentPlayer
ContainerWidget m_leftControlsContainerWidget
ContainerWidget m_rightControlsContainerWidget
ContainerWidget m_moveContainerWidget
ContainerWidget m_lookContainerWidget
RectangleWidget m_moveRectangleWidget
RectangleWidget m_lookRectangleWidget
ContainerWidget m_moveRectangleContainerWidget
ContainerWidget m_lookRectangleContainerWidget
ContainerWidget m_movePadContainerWidget
ContainerWidget m_lookPadContainerWidget
ContainerWidget m_moveButtonsContainerWidget
ContainerWidget m_modalPanelContainerWidget
ContainerWidget m_largeMessageWidget
MessageWidget m_messageWidget
ButtonWidget m_backButtonWidget
ButtonWidget m_inventoryButtonWidget
ButtonWidget m_clothingButtonWidget
ButtonWidget m_moreButtonWidget
Widget m_moreContentsWidget
ButtonWidget m_lightningButtonWidget
ButtonWidget m_precipitationButtonWidget
ButtonWidget m_fogButtonWidget
ButtonWidget m_photoButtonWidget
ButtonWidget m_helpButtonWidget
ButtonWidget m_timeOfDayButtonWidget
ButtonWidget m_cameraButtonWidget
ButtonWidget m_creativeFlyButtonWidget
ButtonWidget m_crouchButtonWidget
ButtonWidget m_mountButtonWidget
ButtonWidget m_editItemButton
float m_sidePanelsFactor
ModalPanelAnimationData m_modalPanelAnimationData
Message m_message
KeyboardHelpDialog m_keyboardHelpDialog
GamepadHelpDialog m_gamepadHelpDialog
double m_lastMountableCreatureSearchTime
bool m_keyboardHelpMessageShown
bool m_gamepadHelpMessageShown
ComponentInput m_componentInput
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

静态 Public 属性

static string fName = "ComponentGui"
static Func< WidgetOpenClothingWidget

属性

GameWidget GameWidget [get, set]
ContainerWidget ControlsContainerWidget [get, set]
TouchInputWidget ViewWidget [get, set]
TouchInputWidget MoveWidget [get, set]
MoveRoseWidget MoveRoseWidget [get, set]
TouchInputWidget LookWidget [get, set]
ShortInventoryWidget ShortInventoryWidget [get, set]
ValueBarWidget HealthBarWidget [get, set]
ValueBarWidget FoodBarWidget [get, set]
ValueBarWidget TemperatureBarWidget [get, set]
LabelWidget LevelLabelWidget [get, set]
virtual bool ShowTouchWidget [get]
Widget ModalPanelWidget [get, set]
UpdateOrder UpdateOrder [get]
int[] DrawOrders [get]
属性 继承自 GameEntitySystem.Component
ValuesDictionary ValuesDictionary [get]
Entity Entity [get]
Project Project [get]
bool IsAddedToProject [get]
属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]

额外继承的成员函数

包函数 继承自 GameEntitySystem.Component
void DisposeInternal ()

详细描述

在文件 ComponentGui.cs6 行定义.

成员函数说明

◆ DisplayLargeMessage()

virtual void Game.ComponentGui.DisplayLargeMessage ( string largeText,
string smallText,
float duration,
float delay )
virtual

在文件 ComponentGui.cs183 行定义.

这是这个函数的调用关系图:

◆ DisplaySmallMessage() [1/3]

virtual void Game.ComponentGui.DisplaySmallMessage ( MessageWidget.Message message,
bool playNotificationSound )
virtual

模组如果需要自定义类型的DisplaySmallMessage,比如彩虹渐变色的Message,可以自己建立对应的Message类型,并调用这个方法

参数
message
playNotificationSound

在文件 ComponentGui.cs205 行定义.

◆ DisplaySmallMessage() [2/3]

virtual void Game.ComponentGui.DisplaySmallMessage ( string text,
Color color,
bool blinking,
bool playNotificationSound )
virtual

在文件 ComponentGui.cs187 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ DisplaySmallMessage() [3/3]

virtual void Game.ComponentGui.DisplaySmallMessage ( string text,
Color color,
bool blinking,
bool playNotificationSound,
float fontScale = 1f )
virtual

在文件 ComponentGui.cs193 行定义.

函数调用图:

◆ Dispose()

override void Game.ComponentGui.Dispose ( )
virtual

重载 GameEntitySystem.Component .

在文件 ComponentGui.cs320 行定义.

◆ Draw()

virtual void Game.ComponentGui.Draw ( Camera camera,
int drawOrder )
virtual

实现了 Game.IDrawable.

在文件 ComponentGui.cs744 行定义.

函数调用图:

◆ EndModalPanelAnimation()

virtual void Game.ComponentGui.EndModalPanelAnimation ( )
virtual

在文件 ComponentGui.cs381 行定义.

这是这个函数的调用关系图:

◆ HandleInput()

virtual void Game.ComponentGui.HandleInput ( )
virtual

在文件 ComponentGui.cs510 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ IsActiveSlotEditable()

virtual bool Game.ComponentGui.IsActiveSlotEditable ( )
virtual

在文件 ComponentGui.cs731 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ IsClothingVisible()

virtual bool Game.ComponentGui.IsClothingVisible ( )
virtual

在文件 ComponentGui.cs722 行定义.

这是这个函数的调用关系图:

◆ IsGameMenuDialogVisible()

virtual bool Game.ComponentGui.IsGameMenuDialogVisible ( )
virtual

在文件 ComponentGui.cs212 行定义.

这是这个函数的调用关系图:

◆ IsInventoryVisible()

virtual bool Game.ComponentGui.IsInventoryVisible ( )
virtual

在文件 ComponentGui.cs724 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Load()

override void Game.ComponentGui.Load ( ValuesDictionary valuesDictionary,
IdToEntityMap idToEntityMap )
virtual

重载 GameEntitySystem.Component .

在文件 ComponentGui.cs234 行定义.

函数调用图:

◆ OnEntityAdded()

override void Game.ComponentGui.OnEntityAdded ( )
virtual

重载 GameEntitySystem.Component .

在文件 ComponentGui.cs311 行定义.

◆ OnEntityRemoved()

override void Game.ComponentGui.OnEntityRemoved ( )
virtual

重载 GameEntitySystem.Component .

在文件 ComponentGui.cs315 行定义.

◆ Save()

override void Game.ComponentGui.Save ( ValuesDictionary valuesDictionary,
EntityToIdMap entityToIdMap )
virtual

重载 GameEntitySystem.Component .

在文件 ComponentGui.cs306 行定义.

◆ Update()

virtual void Game.ComponentGui.Update ( float dt)
virtual

实现了 Game.IUpdateable.

在文件 ComponentGui.cs222 行定义.

函数调用图:

◆ UpdateModalPanelAnimation()

virtual void Game.ComponentGui.UpdateModalPanelAnimation ( )
virtual

在文件 ComponentGui.cs351 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ UpdateSidePanelsAnimation()

virtual void Game.ComponentGui.UpdateSidePanelsAnimation ( )
virtual

在文件 ComponentGui.cs328 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ UpdateWidgets()

virtual void Game.ComponentGui.UpdateWidgets ( )
virtual

在文件 ComponentGui.cs392 行定义.

函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ fName

string Game.ComponentGui.fName = "ComponentGui"
static

在文件 ComponentGui.cs25 行定义.

◆ m_backButtonWidget

ButtonWidget Game.ComponentGui.m_backButtonWidget

在文件 ComponentGui.cs71 行定义.

◆ m_cameraButtonWidget

ButtonWidget Game.ComponentGui.m_cameraButtonWidget

在文件 ComponentGui.cs93 行定义.

◆ m_clothingButtonWidget

ButtonWidget Game.ComponentGui.m_clothingButtonWidget

在文件 ComponentGui.cs75 行定义.

◆ m_componentInput

ComponentInput Game.ComponentGui.m_componentInput

在文件 ComponentGui.cs121 行定义.

◆ m_componentPlayer

ComponentPlayer Game.ComponentGui.m_componentPlayer

在文件 ComponentGui.cs41 行定义.

◆ m_creativeFlyButtonWidget

ButtonWidget Game.ComponentGui.m_creativeFlyButtonWidget

在文件 ComponentGui.cs95 行定义.

◆ m_crouchButtonWidget

ButtonWidget Game.ComponentGui.m_crouchButtonWidget

在文件 ComponentGui.cs97 行定义.

◆ m_editItemButton

ButtonWidget Game.ComponentGui.m_editItemButton

在文件 ComponentGui.cs101 行定义.

◆ m_fogButtonWidget

ButtonWidget Game.ComponentGui.m_fogButtonWidget

在文件 ComponentGui.cs85 行定义.

◆ m_gamepadHelpDialog

GamepadHelpDialog Game.ComponentGui.m_gamepadHelpDialog

在文件 ComponentGui.cs111 行定义.

◆ m_gamepadHelpMessageShown

bool Game.ComponentGui.m_gamepadHelpMessageShown

在文件 ComponentGui.cs117 行定义.

◆ m_helpButtonWidget

ButtonWidget Game.ComponentGui.m_helpButtonWidget

在文件 ComponentGui.cs89 行定义.

◆ m_inventoryButtonWidget

ButtonWidget Game.ComponentGui.m_inventoryButtonWidget

在文件 ComponentGui.cs73 行定义.

◆ m_keyboardHelpDialog

KeyboardHelpDialog Game.ComponentGui.m_keyboardHelpDialog

在文件 ComponentGui.cs109 行定义.

◆ m_keyboardHelpMessageShown

bool Game.ComponentGui.m_keyboardHelpMessageShown

在文件 ComponentGui.cs115 行定义.

◆ m_largeMessageWidget

ContainerWidget Game.ComponentGui.m_largeMessageWidget

在文件 ComponentGui.cs67 行定义.

◆ m_lastMountableCreatureSearchTime

double Game.ComponentGui.m_lastMountableCreatureSearchTime

在文件 ComponentGui.cs113 行定义.

◆ m_leftControlsContainerWidget

ContainerWidget Game.ComponentGui.m_leftControlsContainerWidget

在文件 ComponentGui.cs43 行定义.

◆ m_lightningButtonWidget

ButtonWidget Game.ComponentGui.m_lightningButtonWidget

在文件 ComponentGui.cs81 行定义.

◆ m_lookContainerWidget

ContainerWidget Game.ComponentGui.m_lookContainerWidget

在文件 ComponentGui.cs49 行定义.

◆ m_lookPadContainerWidget

ContainerWidget Game.ComponentGui.m_lookPadContainerWidget

在文件 ComponentGui.cs61 行定义.

◆ m_lookRectangleContainerWidget

ContainerWidget Game.ComponentGui.m_lookRectangleContainerWidget

在文件 ComponentGui.cs57 行定义.

◆ m_lookRectangleWidget

RectangleWidget Game.ComponentGui.m_lookRectangleWidget

在文件 ComponentGui.cs53 行定义.

◆ m_message

Message Game.ComponentGui.m_message

在文件 ComponentGui.cs107 行定义.

◆ m_messageWidget

MessageWidget Game.ComponentGui.m_messageWidget

在文件 ComponentGui.cs69 行定义.

◆ m_modalPanelAnimationData

ModalPanelAnimationData Game.ComponentGui.m_modalPanelAnimationData

在文件 ComponentGui.cs105 行定义.

◆ m_modalPanelContainerWidget

ContainerWidget Game.ComponentGui.m_modalPanelContainerWidget

在文件 ComponentGui.cs65 行定义.

◆ m_moreButtonWidget

ButtonWidget Game.ComponentGui.m_moreButtonWidget

在文件 ComponentGui.cs77 行定义.

◆ m_moreContentsWidget

Widget Game.ComponentGui.m_moreContentsWidget

在文件 ComponentGui.cs79 行定义.

◆ m_mountButtonWidget

ButtonWidget Game.ComponentGui.m_mountButtonWidget

在文件 ComponentGui.cs99 行定义.

◆ m_moveButtonsContainerWidget

ContainerWidget Game.ComponentGui.m_moveButtonsContainerWidget

在文件 ComponentGui.cs63 行定义.

◆ m_moveContainerWidget

ContainerWidget Game.ComponentGui.m_moveContainerWidget

在文件 ComponentGui.cs47 行定义.

◆ m_movePadContainerWidget

ContainerWidget Game.ComponentGui.m_movePadContainerWidget

在文件 ComponentGui.cs59 行定义.

◆ m_moveRectangleContainerWidget

ContainerWidget Game.ComponentGui.m_moveRectangleContainerWidget

在文件 ComponentGui.cs55 行定义.

◆ m_moveRectangleWidget

RectangleWidget Game.ComponentGui.m_moveRectangleWidget

在文件 ComponentGui.cs51 行定义.

◆ m_photoButtonWidget

ButtonWidget Game.ComponentGui.m_photoButtonWidget

在文件 ComponentGui.cs87 行定义.

◆ m_precipitationButtonWidget

ButtonWidget Game.ComponentGui.m_precipitationButtonWidget

在文件 ComponentGui.cs83 行定义.

◆ m_rightControlsContainerWidget

ContainerWidget Game.ComponentGui.m_rightControlsContainerWidget

在文件 ComponentGui.cs45 行定义.

◆ m_sidePanelsFactor

float Game.ComponentGui.m_sidePanelsFactor

在文件 ComponentGui.cs103 行定义.

◆ m_subsystemAudio

SubsystemAudio Game.ComponentGui.m_subsystemAudio

在文件 ComponentGui.cs29 行定义.

◆ m_subsystemBlockBehaviors

SubsystemBlockBehaviors Game.ComponentGui.m_subsystemBlockBehaviors

在文件 ComponentGui.cs39 行定义.

◆ m_subsystemGameInfo

SubsystemGameInfo Game.ComponentGui.m_subsystemGameInfo

在文件 ComponentGui.cs27 行定义.

◆ m_subsystemSky

SubsystemSky Game.ComponentGui.m_subsystemSky

在文件 ComponentGui.cs35 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentGui.m_subsystemTerrain

在文件 ComponentGui.cs33 行定义.

◆ m_subsystemTimeOfDay

SubsystemTimeOfDay Game.ComponentGui.m_subsystemTimeOfDay

在文件 ComponentGui.cs31 行定义.

◆ m_subsystemWeather

SubsystemWeather Game.ComponentGui.m_subsystemWeather

在文件 ComponentGui.cs37 行定义.

◆ m_timeOfDayButtonWidget

ButtonWidget Game.ComponentGui.m_timeOfDayButtonWidget

在文件 ComponentGui.cs91 行定义.

◆ OpenClothingWidget

Func<Widget> Game.ComponentGui.OpenClothingWidget
static

在文件 ComponentGui.cs119 行定义.

属性说明

◆ ControlsContainerWidget

ContainerWidget Game.ComponentGui.ControlsContainerWidget
getset

在文件 ComponentGui.cs125 行定义.

◆ DrawOrders

int [] Game.ComponentGui.DrawOrders
get

实现了 Game.IDrawable.

在文件 ComponentGui.cs181 行定义.

◆ FoodBarWidget

ValueBarWidget Game.ComponentGui.FoodBarWidget
getset

在文件 ComponentGui.cs139 行定义.

◆ GameWidget

GameWidget Game.ComponentGui.GameWidget
getset

在文件 ComponentGui.cs123 行定义.

◆ HealthBarWidget

ValueBarWidget Game.ComponentGui.HealthBarWidget
getset

在文件 ComponentGui.cs137 行定义.

◆ LevelLabelWidget

LabelWidget Game.ComponentGui.LevelLabelWidget
getset

在文件 ComponentGui.cs143 行定义.

◆ LookWidget

TouchInputWidget Game.ComponentGui.LookWidget
getset

在文件 ComponentGui.cs133 行定义.

◆ ModalPanelWidget

Widget Game.ComponentGui.ModalPanelWidget
getset

在文件 ComponentGui.cs147 行定义.

◆ MoveRoseWidget

MoveRoseWidget Game.ComponentGui.MoveRoseWidget
getset

在文件 ComponentGui.cs131 行定义.

◆ MoveWidget

TouchInputWidget Game.ComponentGui.MoveWidget
getset

在文件 ComponentGui.cs129 行定义.

◆ ShortInventoryWidget

ShortInventoryWidget Game.ComponentGui.ShortInventoryWidget
getset

在文件 ComponentGui.cs135 行定义.

◆ ShowTouchWidget

virtual bool Game.ComponentGui.ShowTouchWidget
get

在文件 ComponentGui.cs145 行定义.

◆ TemperatureBarWidget

ValueBarWidget Game.ComponentGui.TemperatureBarWidget
getset

在文件 ComponentGui.cs141 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentGui.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentGui.cs179 行定义.

◆ ViewWidget

TouchInputWidget Game.ComponentGui.ViewWidget
getset

在文件 ComponentGui.cs127 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Component/ComponentGui.cs