Elin Modding Docs Doc
Loading...
Searching...
No Matches
WidgetMascot Class Reference
Inheritance diagram for WidgetMascot:
Widget EMono

Public Member Functions

override void OnActivate ()
 
void _Update ()
 
override void OnFlip ()
 
void Say (string[] lines)
 
void Say (string str)
 
override void OnSetContextMenu (UIContextMenu m)
 
- Public Member Functions inherited from Widget
void Test ()
 
bool IsInRightMode ()
 
void Activate ()
 
virtual object CreateExtra ()
 
void Deactivate ()
 
virtual void OnDeactivate ()
 
void Close ()
 
void Reactivate ()
 
virtual void OnManagerActivate ()
 
virtual void OnManagerDeactivate ()
 
void SetAnchor (RectPosition p)
 
void SetPivot (RectPosition p)
 
virtual void OnChangePivot ()
 
void UpdateConfig ()
 
virtual void OnUpdateConfig ()
 
void ClampToScreen ()
 
virtual void OnChangeResolution ()
 
void OnChangePosition ()
 
virtual void OnChangeActionMode ()
 
bool IsAlignTop ()
 
Layer AddLayer (Layer l, Transform trans)
 
void RefreshTipPivotPosition ()
 
SkinSet GetSkin ()
 
SkinConfig GetSkinConfig ()
 
void SetSkin (int id, int v=0)
 
void TestSkin ()
 
virtual void ApplySkin ()
 
virtual void OnApplySkin ()
 
void InstantiateDeco (SkinDeco deco)
 
void AddDeco (SkinDeco deco)
 
void RemoveDeco (SkinDeco deco)
 
virtual bool CanShowContextMenu ()
 
void ShowContextMenu ()
 
void SetBaseContextMenu (UIContextMenu m)
 
void SetGridContextMenu (UIContextMenu m)
 
void SoundActivate ()
 

Public Attributes

RawImage image
 
UIText text
 
int intervalSay
 
string[] linesDefault
 
string[] linesSiege
 
string[] linesShutup
 
Vector2 textPos
 
- Public Attributes inherited from Widget
Image imageBG
 
SoundData soundActivate
 
UIDragPanel dragPanel
 
RectTransform tipPivotLeft
 
RectTransform tipPivotRight
 

Properties

override bool ShowStyleMenu [get]
 
- Properties inherited from Widget
string ID [get]
 
Widget.Config config [get]
 
SkinRoot skinRoot [get]
 
bool IsSealed [get]
 
virtual bool ShowStyleMenu [get]
 
virtual bool AlwaysTop [get]
 
virtual bool IsStaticPosition [get]
 
virtual bool AlwaysBottom [get]
 
virtual Type SetSiblingAfter [get]
 
virtual bool ShowInBuildMode [get]
 
virtual bool RightClickToClose [get]
 
virtual bool AllowRightClickToClose [get]
 
- Properties inherited from EMono
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SoundManager Sound [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Public Types inherited from Widget
enum  WidgetType { Default , ZoomMenu }
 
enum  State { Active , Inactive }
 
- Static Public Member Functions inherited from EMono
static int rnd (int a)
 
- Static Public Attributes inherited from EMono
static Core core
 
- Protected Member Functions inherited from Widget
void ClampToScreenEnsured (Component c, Vector2 anchoredPos)
 
void ClampToScreen (RectTransform rect, float margin=10f)
 
- Protected Attributes inherited from Widget
bool flip
 

Detailed Description

Definition at line 7 of file WidgetMascot.cs.

Member Function Documentation

◆ _Update()

void WidgetMascot._Update ( )

Definition at line 60 of file WidgetMascot.cs.

◆ OnActivate()

override void WidgetMascot.OnActivate ( )
virtual

Reimplemented from Widget.

Definition at line 20 of file WidgetMascot.cs.

◆ OnFlip()

override void WidgetMascot.OnFlip ( )
virtual

Reimplemented from Widget.

Definition at line 87 of file WidgetMascot.cs.

◆ OnSetContextMenu()

override void WidgetMascot.OnSetContextMenu ( UIContextMenu m)
virtual

Reimplemented from Widget.

Definition at line 120 of file WidgetMascot.cs.

◆ Say() [1/2]

void WidgetMascot.Say ( string str)

Definition at line 99 of file WidgetMascot.cs.

◆ Say() [2/2]

void WidgetMascot.Say ( string[] lines)

Definition at line 93 of file WidgetMascot.cs.

Member Data Documentation

◆ image

RawImage WidgetMascot.image

Definition at line 135 of file WidgetMascot.cs.

◆ intervalSay

int WidgetMascot.intervalSay

Definition at line 141 of file WidgetMascot.cs.

◆ linesDefault

string [] WidgetMascot.linesDefault

Definition at line 144 of file WidgetMascot.cs.

◆ linesShutup

string [] WidgetMascot.linesShutup

Definition at line 150 of file WidgetMascot.cs.

◆ linesSiege

string [] WidgetMascot.linesSiege

Definition at line 147 of file WidgetMascot.cs.

◆ text

UIText WidgetMascot.text

Definition at line 138 of file WidgetMascot.cs.

◆ textPos

Vector2 WidgetMascot.textPos

Definition at line 153 of file WidgetMascot.cs.

Property Documentation

◆ ShowStyleMenu

override bool WidgetMascot.ShowStyleMenu
get

Definition at line 11 of file WidgetMascot.cs.


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