|
Elin Decompiled Documentation EA 23.222 Stable nyan
|
Classes | |
| class | Extra |
| class | Item |
Public Member Functions | |
| override object | CreateExtra () |
| override void | OnActivate () |
| void | Build () |
| UIItem | Add (Element ele, string id="", Sprite sprite=null, Func< string > func=null, Func< FontColor > funcCol=null, Func< bool > funcShow=null) |
| void | Refresh () |
| override void | OnSetContextMenu (UIContextMenu m) |
| override void | OnApplySkin () |
Public Member Functions inherited from Widget | |
| void | Test () |
| bool | IsInRightMode () |
| void | Activate () |
| void | RefreshOrder () |
| virtual void | OnActivate () |
| 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 () |
| virtual void | OnFlip () |
| 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) |
| virtual void | OnSetContextMenu (UIContextMenu m) |
| void | SetGridContextMenu (UIContextMenu m) |
| void | SoundActivate () |
| void | OnChangeResolution () |
| SkinSet | GetSkin () |
| SkinConfig | GetSkinConfig () |
Public Attributes | |
| LayoutGroup | layout |
| List< Item > | items = new List<Item>() |
| Sprite | iconMoney |
| Sprite | iconMoney2 |
| Sprite | iconPlat |
| Sprite | iconMedal |
| Sprite | iconKarma |
| Sprite | iconWeight |
| Sprite | iconInfluence |
| Sprite | iconMaxAlly |
| Sprite | iconGodMood |
| Sprite | iconHearth |
| Sprite | iconTourismValue |
| Sprite | iconFame |
| Sprite | iconDvPv |
| Sprite | iconMaxMinion |
| Sprite | iconFertility |
| Sprite | iconElec |
Public Attributes inherited from Widget | |
| Image | imageBG |
| SoundData | soundActivate |
| UIDragPanel | dragPanel |
| RectTransform | tipPivotLeft |
| RectTransform | tipPivotRight |
Static Public Attributes | |
| static WidgetStatsBar | Instance |
Static Public Attributes inherited from EMono | |
| static Core | core |
Properties | |
| Extra | extra [get] |
| Color | colorDefault [get] |
| Color | colorBad [get] |
| Color | colorVeryBad [get] |
Properties inherited from Widget | |
| string | ID [get] |
| 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] |
Private Attributes | |
| UIItem | mold |
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) |
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 |
Definition at line 6 of file WidgetStatsBar.cs.
|
inline |
Definition at line 229 of file WidgetStatsBar.cs.
References Element.GetIcon(), UIItem.image1, item, UIItem.text1, and Util.
Referenced by Build().
|
inline |
Definition at line 129 of file WidgetStatsBar.cs.
References EMono._zone, Add(), WidgetStatsBar.Extra.attributes, EMono.Branch, Zone.CountMinions(), Chara.DV, WidgetStatsBar.Extra.dv, Card.elements, FactionBranch.exp, extra, Chara.faith, Player.fame, WidgetStatsBar.Extra.fame, WidgetStatsBar.Extra.fertility, Card.GetCurrency(), ElementContainer.GetElement(), FactionBranch.GetNextExp(), Zone.GetSoilCost(), Element.HasTag(), WidgetStatsBar.Extra.hearthLv, iconDvPv, iconFame, iconFertility, iconGodMood, iconHearth, iconInfluence, iconKarma, iconMaxAlly, iconMaxMinion, iconMedal, iconMoney, iconMoney2, iconPlat, iconTourismValue, Spatial.influence, WidgetStatsBar.Extra.influence, Zone.IsPCFaction, item, items, Player.karma, WidgetStatsBar.Extra.karma, Player.lastEmptyAlly, layout, ElementContainer.ListElements(), Player.MaxAlly, WidgetStatsBar.Extra.maxAlly, WidgetStatsBar.Extra.maxMinion, Zone.MaxSoil, Chara.MaxSummon, WidgetStatsBar.Extra.medal, Party.members, WidgetStatsBar.Extra.money, WidgetStatsBar.Extra.money2, WidgetStatsBar.Extra.mood, Chara.party, EMono.pc, WidgetStatsBar.Extra.plat, EMono.player, Chara.PV, FactionBranch.TextLv, Religion.TextMood, FactionBranch.tourism, and WidgetStatsBar.Extra.tourism_value.
Referenced by OnActivate().
|
inlinevirtual |
Reimplemented from Widget.
Definition at line 112 of file WidgetStatsBar.cs.
Referenced by OnActivate().
|
inlinevirtual |
Reimplemented from Widget.
Definition at line 117 of file WidgetStatsBar.cs.
References Build(), CreateExtra(), extra, Instance, layout, and mold.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from Widget.
Definition at line 313 of file WidgetStatsBar.cs.
References UIContextMenu.AddChild(), UIContextMenu.AddToggle(), WidgetStatsBar.Extra.attributes, Build, EMono.debug, WidgetStatsBar.Extra.dv, WidgetStatsBar.Extra.elec, WidgetStatsBar.Extra.fame, WidgetStatsBar.Extra.fertility, WidgetStatsBar.Extra.hearthLv, WidgetStatsBar.Extra.influence, WidgetStatsBar.Extra.karma, WidgetStatsBar.Extra.maxAlly, WidgetStatsBar.Extra.maxMinion, WidgetStatsBar.Extra.medal, WidgetStatsBar.Extra.money, WidgetStatsBar.Extra.money2, WidgetStatsBar.Extra.mood, WidgetStatsBar.Extra.plat, WidgetStatsBar.Extra.tourism_value, and WidgetStatsBar.Extra.weight.
|
inline |
Definition at line 260 of file WidgetStatsBar.cs.
References Element.DisplayValue, Element.id, item, EMono.pc, Chara.tempElements, ElementContainer.Value(), and Element.ValueWithoutLink.
| Sprite WidgetStatsBar.iconDvPv |
Definition at line 94 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconElec |
Definition at line 100 of file WidgetStatsBar.cs.
| Sprite WidgetStatsBar.iconFame |
Definition at line 92 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconFertility |
Definition at line 98 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconGodMood |
Definition at line 86 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconHearth |
Definition at line 88 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconInfluence |
Definition at line 82 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconKarma |
Definition at line 78 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconMaxAlly |
Definition at line 84 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconMaxMinion |
Definition at line 96 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconMedal |
Definition at line 76 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconMoney |
Definition at line 70 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconMoney2 |
Definition at line 72 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconPlat |
Definition at line 74 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconTourismValue |
Definition at line 90 of file WidgetStatsBar.cs.
Referenced by Build().
| Sprite WidgetStatsBar.iconWeight |
Definition at line 80 of file WidgetStatsBar.cs.
|
static |
Definition at line 64 of file WidgetStatsBar.cs.
Referenced by OnActivate().
Definition at line 68 of file WidgetStatsBar.cs.
Referenced by Build().
| LayoutGroup WidgetStatsBar.layout |
Definition at line 66 of file WidgetStatsBar.cs.
Referenced by Build(), and OnActivate().
|
private |
Definition at line 102 of file WidgetStatsBar.cs.
Referenced by OnActivate().
|
get |
Definition at line 108 of file WidgetStatsBar.cs.
|
get |
Definition at line 106 of file WidgetStatsBar.cs.
|
get |
Definition at line 110 of file WidgetStatsBar.cs.
|
get |
Definition at line 104 of file WidgetStatsBar.cs.
Referenced by Build(), and OnActivate().