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

Public Member Functions

void OnCoreStart ()
 
void OnActivateZone ()
 
void ShowFloats ()
 
void HideFloats ()
 
void OnKillGame ()
 
void OnClickAction (string _mode)
 
void RefreshActiveState ()
 
override void OnChangeLayer ()
 
void FlashCover (float durationOut=1f, float duration=1f, float durationIn=1f, Action onFadeOut=null, Action onComplete=null, Color color=default(Color))
 
void ShowCover (float duration=0f, float dest=1f, Action onComplete=null, Color color=default(Color))
 
void HideCover (float duration=0f, Action onComplete=null)
 
bool IsCovered ()
 
void ShowBalloon (bool enable)
 
void Show (float duration=1f)
 
void Hide (float duration=1f)
 
void OnUpdate ()
 
void ShowMouseHint ()
 
void HideMouseHint (float duration=0.2f)
 
void CheckWindowOrder ()
 
void ShowSceneSelector ()
 
void ShowLang ()
 
void SetLight (bool enable)
 
UIContextMenu CreateContextMenu (string cid="ContextMenu")
 
UIContextMenu CreateContextMenuInteraction ()
 
void Say (string text, Sprite sprite=null)
 
void FreezeScreen (float duration)
 
void UnfreezeScreen ()
 
void ToggleAbility (bool delay=false)
 
void ToggleInventory (bool delay=false)
 
void OpenFloatInv (bool ignoreSound=false)
 
void ToggleFeedback ()
 
void StartDrag (DragItem item)
 
void OnDrag ()
 
void EndDrag (bool canceled=false)
 
- 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 ()
 

Public Attributes

Canvas canvas
 
HUD hud
 
ExtraHint extraHint
 
InputModuleEX inputModule
 
UIContextMenuManager contextMenu
 
WidgetManager widgets
 
UIMouseInfo mouseInfo
 
RectTransform rectDynamic
 
RectTransform rectDynamicEssential
 
RectTransform _rectLayers
 
ReflexConsole console
 
GameObject blur
 
Material matBlur
 
LayoutGroup layoutLang
 
CanvasScaler canvasScaler
 
Image light
 
CanvasGroup cg
 
int minWidth
 
Layer layerFloat
 
UIAutoTurn autoTurn
 
PopManager popGame
 
PopManager popSystem
 
float blurSpeed
 
Texture2D texFreeze
 
RawImage imageFreeze
 
DragItem currentDrag
 
DragItem nextDrag
 
float lightContrast
 
float dragDuration
 
bool wasActive
 
bool isPointerOverUI
 

Protected Member Functions

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

Properties

SkinManager skins [get]
 
bool IsActive [get]
 
bool AllowInventoryInteractions [get]
 
bool BlockActions [get]
 
bool BlockMouseOverUpdate [get]
 
bool BlockInput [get]
 
bool IsPauseGame [get]
 
bool IsInventoryOpen [get]
 
bool IsAbilityOpen [get]
 
override bool blockWidgetClick [get]
 
override RectTransform rectLayers [get]
 
bool IsDragging [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

- Static Public Member Functions inherited from ELayer
static int rnd (int a)
 

Detailed Description

Definition at line 11 of file UI.cs.

Member Function Documentation

◆ Awake()

override void UI.Awake ( )
protected

Definition at line 134 of file UI.cs.

◆ CheckWindowOrder()

void UI.CheckWindowOrder ( )

Definition at line 449 of file UI.cs.

◆ CreateContextMenu()

UIContextMenu UI.CreateContextMenu ( string cid = "ContextMenu")

Definition at line 531 of file UI.cs.

◆ CreateContextMenuInteraction()

UIContextMenu UI.CreateContextMenuInteraction ( )

Definition at line 537 of file UI.cs.

◆ EndDrag()

void UI.EndDrag ( bool canceled = false)

Definition at line 704 of file UI.cs.

◆ FlashCover()

void UI.FlashCover ( float durationOut = 1f,
float duration = 1f,
float durationIn = 1f,
Action onFadeOut = null,
Action onComplete = null,
Color color = default(Color) )

Definition at line 242 of file UI.cs.

◆ FreezeScreen()

void UI.FreezeScreen ( float duration)

Definition at line 550 of file UI.cs.

◆ Hide()

void UI.Hide ( float duration = 1f)

Definition at line 322 of file UI.cs.

◆ HideCover()

void UI.HideCover ( float duration = 0f,
Action onComplete = null )

Definition at line 275 of file UI.cs.

◆ HideFloats()

void UI.HideFloats ( )

Definition at line 164 of file UI.cs.

◆ HideMouseHint()

void UI.HideMouseHint ( float duration = 0::2f)

Definition at line 441 of file UI.cs.

◆ IsCovered()

bool UI.IsCovered ( )

Definition at line 296 of file UI.cs.

◆ OnActivateZone()

void UI.OnActivateZone ( )

Definition at line 147 of file UI.cs.

◆ OnChangeLayer()

override void UI.OnChangeLayer ( )

Definition at line 205 of file UI.cs.

◆ OnClickAction()

void UI.OnClickAction ( string _mode)

Definition at line 179 of file UI.cs.

◆ OnCoreStart()

void UI.OnCoreStart ( )

Definition at line 141 of file UI.cs.

◆ OnDrag()

void UI.OnDrag ( )

Definition at line 697 of file UI.cs.

◆ OnKillGame()

void UI.OnKillGame ( )

Definition at line 170 of file UI.cs.

◆ OnUpdate()

void UI.OnUpdate ( )

Definition at line 334 of file UI.cs.

◆ OpenFloatInv()

void UI.OpenFloatInv ( bool ignoreSound = false)

Definition at line 642 of file UI.cs.

◆ RefreshActiveState()

void UI.RefreshActiveState ( )

Definition at line 186 of file UI.cs.

◆ Say()

void UI.Say ( string text,
Sprite sprite = null )

Definition at line 543 of file UI.cs.

◆ SetLight()

void UI.SetLight ( bool enable)

Definition at line 526 of file UI.cs.

◆ Show()

void UI.Show ( float duration = 1f)

Definition at line 309 of file UI.cs.

◆ ShowBalloon()

void UI.ShowBalloon ( bool enable)

Definition at line 302 of file UI.cs.

◆ ShowCover()

void UI.ShowCover ( float duration = 0f,
float dest = 1f,
Action onComplete = null,
Color color = default(Color) )

Definition at line 256 of file UI.cs.

◆ ShowFloats()

void UI.ShowFloats ( )

Definition at line 158 of file UI.cs.

◆ ShowLang()

void UI.ShowLang ( )

Definition at line 498 of file UI.cs.

◆ ShowMouseHint()

void UI.ShowMouseHint ( )

Definition at line 388 of file UI.cs.

◆ ShowSceneSelector()

void UI.ShowSceneSelector ( )

Definition at line 474 of file UI.cs.

◆ StartDrag()

void UI.StartDrag ( DragItem item)

Definition at line 676 of file UI.cs.

◆ ToggleAbility()

void UI.ToggleAbility ( bool delay = false)

Definition at line 579 of file UI.cs.

◆ ToggleFeedback()

void UI.ToggleFeedback ( )

Definition at line 663 of file UI.cs.

◆ ToggleInventory()

void UI.ToggleInventory ( bool delay = false)

Definition at line 606 of file UI.cs.

◆ UnfreezeScreen()

void UI.UnfreezeScreen ( )

Definition at line 569 of file UI.cs.

Member Data Documentation

◆ _rectLayers

RectTransform UI._rectLayers

Definition at line 764 of file UI.cs.

◆ autoTurn

UIAutoTurn UI.autoTurn

Definition at line 794 of file UI.cs.

◆ blur

GameObject UI.blur

Definition at line 770 of file UI.cs.

◆ blurSpeed

float UI.blurSpeed

Definition at line 803 of file UI.cs.

◆ canvas

Canvas UI.canvas

Definition at line 737 of file UI.cs.

◆ canvasScaler

CanvasScaler UI.canvasScaler

Definition at line 779 of file UI.cs.

◆ cg

CanvasGroup UI.cg

Definition at line 785 of file UI.cs.

◆ console

ReflexConsole UI.console

Definition at line 767 of file UI.cs.

◆ contextMenu

UIContextMenuManager UI.contextMenu

Definition at line 749 of file UI.cs.

◆ currentDrag

DragItem UI.currentDrag

Definition at line 812 of file UI.cs.

◆ dragDuration

float UI.dragDuration

Definition at line 826 of file UI.cs.

◆ extraHint

ExtraHint UI.extraHint

Definition at line 743 of file UI.cs.

◆ hud

HUD UI.hud

Definition at line 740 of file UI.cs.

◆ imageFreeze

RawImage UI.imageFreeze

Definition at line 809 of file UI.cs.

◆ inputModule

InputModuleEX UI.inputModule

Definition at line 746 of file UI.cs.

◆ isPointerOverUI

bool UI.isPointerOverUI

Definition at line 837 of file UI.cs.

◆ layerFloat

Layer UI.layerFloat

Definition at line 791 of file UI.cs.

◆ layoutLang

LayoutGroup UI.layoutLang

Definition at line 776 of file UI.cs.

◆ light

Image UI.light

Definition at line 782 of file UI.cs.

◆ lightContrast

float UI.lightContrast

Definition at line 822 of file UI.cs.

◆ matBlur

Material UI.matBlur

Definition at line 773 of file UI.cs.

◆ minWidth

int UI.minWidth

Definition at line 788 of file UI.cs.

◆ mouseInfo

UIMouseInfo UI.mouseInfo

Definition at line 755 of file UI.cs.

◆ nextDrag

DragItem UI.nextDrag

Definition at line 815 of file UI.cs.

◆ popGame

PopManager UI.popGame

Definition at line 797 of file UI.cs.

◆ popSystem

PopManager UI.popSystem

Definition at line 800 of file UI.cs.

◆ rectDynamic

RectTransform UI.rectDynamic

Definition at line 758 of file UI.cs.

◆ rectDynamicEssential

RectTransform UI.rectDynamicEssential

Definition at line 761 of file UI.cs.

◆ texFreeze

Texture2D UI.texFreeze

Definition at line 806 of file UI.cs.

◆ wasActive

bool UI.wasActive

Definition at line 833 of file UI.cs.

◆ widgets

WidgetManager UI.widgets

Definition at line 752 of file UI.cs.

Property Documentation

◆ AllowInventoryInteractions

bool UI.AllowInventoryInteractions
get

Definition at line 35 of file UI.cs.

◆ BlockActions

bool UI.BlockActions
get

Definition at line 45 of file UI.cs.

◆ BlockInput

bool UI.BlockInput
get

Definition at line 65 of file UI.cs.

◆ BlockMouseOverUpdate

bool UI.BlockMouseOverUpdate
get

Definition at line 55 of file UI.cs.

◆ blockWidgetClick

override bool UI.blockWidgetClick
get

Definition at line 105 of file UI.cs.

◆ IsAbilityOpen

bool UI.IsAbilityOpen
get

Definition at line 95 of file UI.cs.

◆ IsActive

bool UI.IsActive
get

Definition at line 25 of file UI.cs.

◆ IsDragging

bool UI.IsDragging
get

Definition at line 125 of file UI.cs.

◆ IsInventoryOpen

bool UI.IsInventoryOpen
get

Definition at line 85 of file UI.cs.

◆ IsPauseGame

bool UI.IsPauseGame
get

Definition at line 75 of file UI.cs.

◆ rectLayers

override RectTransform UI.rectLayers
get

Definition at line 115 of file UI.cs.

◆ skins

SkinManager UI.skins
get

Definition at line 15 of file UI.cs.


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