Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
override void | OnSwitchContent (int idTab) |
void | RefreshPolicy () |
void | RefreshPolicyList (UIList list, string cat, string plan) |
void | RefreshPolicyIcons () |
![]() | |
virtual void | OnSwitchContent (int idTab) |
virtual void | OnInstantiate () |
![]() | |
void | Clear () |
void | Build () |
void | Space (int sizeY=0, int sizeX=1) |
UINote | AddNote (string id) |
UIItem | AddHeader (string text, Sprite sprite=null) |
UIItem | AddHeaderCard (string text, Sprite sprite=null) |
UIItem | AddHeaderTopic (string text, Sprite sprite=null) |
UIItem | AddHeader (string id, string text, Sprite sprite=null) |
UIItem | AddText (string text, FontColor color=FontColor.DontChange) |
UIItem | AddText (string id, string text, FontColor color=FontColor.DontChange) |
UIItem | AddText (string id, string text, Color color) |
UIItem | AddItem (string id) |
UIItem | AddTopic (string id, string text, string value=null) |
UIItem | AddTopic (string text, string value=null) |
void | AddImage (Sprite sprite) |
void | AddImage (string idFile) |
UIButton | AddButton (string text, Action onClick) |
UIButton | AddButtonLink (string text, string url) |
UIDropdown | AddDropdown (string id="DropdownDefault") |
UIButton | AddToggle (string idLang="", bool isOn=false, Action< bool > action=null) |
Transform | AddPrefab (string path) |
T | AddExtra< T > (string path) |
Public Attributes | |
UIList | listPolicyLaw |
UIList | listPolicyEconomy |
UIList | listPolicyLife |
UIList | listUtility |
Material | matGrayscale |
![]() | |
RectTransform | target |
UINoteProfile | prof |
SkinType | skinType |
string | idDefaultText |
LayoutGroup | layout |
RectTransform | cur |
bool | extraRebuild |
Definition at line 4 of file ContentPolicy.cs.
|
inlinevirtual |
Reimplemented from UIContent.
Definition at line 16 of file ContentPolicy.cs.
References EClass.Branch, FactionBranch.policies, RefreshPolicy(), and PolicyManager.Validate().
|
inline |
Definition at line 22 of file ContentPolicy.cs.
References EClass.Branch, EClass.debug, CoreDebug.enable, listPolicyEconomy, listPolicyLaw, listPolicyLife, listUtility, FactionBranch.lv, RefreshPolicyIcons(), and RefreshPolicyList().
Referenced by OnSwitchContent().
|
inline |
Definition at line 124 of file ContentPolicy.cs.
References Policy.active, EClass.Branch, Policy.Cost, PolicyManager.CurrentAP(), UIButton.imageCheck, FactionBranch.policies, UIText.SetText(), and UIButton.subText.
Referenced by RefreshPolicy(), and RefreshPolicyList().
|
inline |
Definition at line 34 of file ContentPolicy.cs.
References Policy.active, UIList.Add(), EClass.Branch, Faction.CountTaxFreeLand(), Chara.faction, Policy.GetSortVal(), Policy.id, if(), item, PolicyManager.list, UIButton.mainText, Policy.Name, UITooltip.note, EClass.pc, FactionBranch.policies, PolicyManager.RefreshEffects(), RefreshPolicyIcons(), UIText.SetText(), Policy.source, and Policy.WriteNote().
Referenced by RefreshPolicy().
UIList ContentPolicy.listPolicyEconomy |
Definition at line 8 of file ContentPolicy.cs.
Referenced by RefreshPolicy().
UIList ContentPolicy.listPolicyLaw |
Definition at line 6 of file ContentPolicy.cs.
Referenced by RefreshPolicy().
UIList ContentPolicy.listPolicyLife |
Definition at line 10 of file ContentPolicy.cs.
Referenced by RefreshPolicy().
UIList ContentPolicy.listUtility |
Definition at line 12 of file ContentPolicy.cs.
Referenced by RefreshPolicy().
Material ContentPolicy.matGrayscale |
Definition at line 14 of file ContentPolicy.cs.