Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | SetPerson (Person p) |
void | SetChara (Chara c, PCCData pccData=null) |
Color | GetRandomHairColor (Chara c) |
void | SetPortrait (string id, Color colorOverlay=default(Color), bool applyColorMod=true) |
void | SetPortrait (bool isPortrait, Sprite spritePortrait, Sprite spriteOverlay=null, Color colorOverlay=default(Color), Sprite spriteFull=null) |
![]() | |
virtual bool | CanMiddleClick () |
virtual void | OnMiddleClick (bool forceClick) |
void | SetItem (Item i) |
virtual void | RefreshItem () |
virtual void | OnHover () |
void | Toggle () |
void | ToggleCheck () |
void | SetCheck (bool check) |
void | SetToggle (bool isOn, Action< bool > onToggle=null) |
void | SetToggleWithScore (bool isOn, Action< bool > onToggle, int? score) |
void | SetTooltip (Action< UITooltip > onShowTooltip=null, bool enable=true) |
void | SetTooltip (string id, Action< UITooltip > onShowTooltip=null, bool enable=true) |
void | SetTooltipLang (string lang=null) |
virtual void | ShowTooltip () |
void | ShowTooltipForced (bool ignoreWhenRightClick=true) |
override void | OnPointerDown (PointerEventData eventData) |
override void | OnPointerClick (PointerEventData eventData) |
override void | OnPointerUp (PointerEventData eventData) |
void | OnPointerUpOnDrag (PointerEventData eventData) |
void | _OnPress () |
void | OnPress () |
void | AddHighlight (Func< bool > killCondition) |
void | DoHighlightTransition (bool instant=false) |
void | DoNormalTransition (bool instant=true) |
override Selectable | FindSelectableOnDown () |
override Selectable | FindSelectableOnUp () |
override Selectable | FindSelectableOnLeft () |
override Selectable | FindSelectableOnRight () |
void | SetNavigation (UIButton up, UIButton down=null, UIButton left=null, UIButton right=null) |
override bool | IsActive () |
void | SetInteractableWithAlpha (bool enable) |
virtual void | ApplySkin () |
void | ApplySkin () |
Static Public Member Functions | |
static List< ModItem< Sprite > > | ListPlayerPortraits (int gender, bool nullPortrait=false) |
static List< ModItem< Sprite > > | ListPortraits (string idDict) |
static List< ModItem< Sprite > > | ListPortraits (int gender, string cat) |
static string | GetRandomPortrait (string idDict) |
static string | GetRandomPortrait (int gender, string cat) |
static bool | Exists (string id) |
![]() | |
static void | UpdateButtons () |
static void | TryHihlight () |
static void | TryShowTip (Transform root=null, bool highlight=true, bool ignoreWhenRightClick=true) |
static void | TryShowTip< T > (Transform root=null, bool highlight=true, bool ignoreWhenRightClick=true) |
Public Attributes | |
Image | portrait |
Image | overlay |
Image | imageChara |
Image | imageFaith |
Image | imageFull |
Image | imageFrame |
Sprite | spriteNoPortrait |
bool | enableFull = true |
bool | hideIfNoPortrait |
bool | fixSpritePos = true |
bool | showPortrait = true |
float | charaScale = 1f |
![]() | |
UIText | mainText |
UIText | subText |
UIText | subText2 |
UIText | keyText |
Image | icon |
Image | imageCheck |
Graphic[] | targetGraphics |
float | scaleIcon = 1f |
float | slideX |
float | navigationFix |
bool | isChecked |
bool | instantClick = true |
UISelectableGroup | group |
TooltipData | tooltip |
SoundData | soundClick |
SoundData | soundHighlight |
Transform | animeTarget |
Anime | animeClick |
Anime | animeHold |
ButtonType | buttonType |
BaseSkinRoot | skinRoot |
Action | onDoubleClick |
Action | onRightClick |
Action< int > | onInputWheel |
object | refObj |
int | refInt |
string | refStr |
bool | animating |
bool | selected |
Vector3 | originalIconScale = Vector3.one |
UIButton | highlightTarget |
Item | item |
Static Public Attributes | |
static ModItemList< Sprite > | modPortraitBGFs = new ModItemList<Sprite>(3) |
static ModItemList< Sprite > | modPortraitBGs = new ModItemList<Sprite>(3) |
static ModItemList< Sprite > | modPortraits = new ModItemList<Sprite>(3) |
static ModItemList< Sprite > | modOverlays = new ModItemList<Sprite>(3) |
static ModItemList< Sprite > | modFull = new ModItemList<Sprite>(3) |
static Dictionary< string, List< ModItem< Sprite > > > | dictList = new Dictionary<string, List<ModItem<Sprite>>>() |
static HashSet< string > | allIds = new HashSet<string>() |
![]() | |
static bool | DoSlide |
static bool | locked |
static UIButton | lastButton |
static UIButton | lastHovered |
static UIButton | currentHighlight |
static UIButton | currentPressedButton |
static float | lastClicked |
static float | doubleClickTime = 0.4f |
static Vector2 | buttonPos |
static Action | onPressed |
static List< UIButton > | buttons = new List<UIButton>() |
static Action | actionTooltip |
Private Attributes | |
FilterMode | filter |
Additional Inherited Members | |
![]() | |
override void | Awake () |
override void | OnEnable () |
override void | DoStateTransition (SelectionState state, bool instant) |
![]() | |
List< Graphic > | Graphics [get] |
virtual bool | CanDragLeftButton [get] |
Definition at line 6 of file Portrait.cs.
|
inlinestatic |
Definition at line 115 of file Portrait.cs.
References ModItemList< T >.dict, and modPortraits.
Definition at line 205 of file Portrait.cs.
References Color, Rand.SetSeed(), and Card.uid.
Referenced by LayerEditPortrait.Activate(), and SetChara().
|
inlinestatic |
Definition at line 110 of file Portrait.cs.
References ListPortraits().
|
inlinestatic |
Definition at line 105 of file Portrait.cs.
References ListPortraits().
Referenced by Chara.ApplyEditorTags(), UICharaMaker.ListGender(), and Biography.SetPortrait().
|
inlinestatic |
Definition at line 48 of file Portrait.cs.
References ListPortraits().
Referenced by LayerEditPCC.SetPortraitSlider().
|
inlinestatic |
Definition at line 77 of file Portrait.cs.
References dictList, UIButton.item, ModItemList< T >.list, and modPortraits.
|
inlinestatic |
Definition at line 59 of file Portrait.cs.
References dictList, UIButton.item, ModItemList< T >.list, and modPortraits.
Referenced by GetRandomPortrait(), ListPlayerPortraits(), and LayerEditPortrait.RefreshList().
|
inline |
Definition at line 138 of file Portrait.cs.
References Card.Chara, charaScale, Color, EClass.core, Chara.faith, fixSpritePos, IntColor.FromInt(), Chara.GetIdPortrait(), BaseCard.GetInt(), ModItemList< T >.GetItem(), GetRandomHairColor(), Religion.GetSprite(), Chara.GetSprite(), hideIfNoPortrait, Card.id, imageChara, imageFaith, Chara.isChara, CoreRef.matUIPortraitChara, modPortraits, Chara.pccData, portrait, Core.refs, Card.SetImage(), SetPortrait(), and spriteNoPortrait.
Referenced by LayerEditPortrait.Activate(), UICharaMaker.EditPCC(), UICharaMaker.ListGender(), LayerEditPCC.OnClickChangePortrait(), UICharaMaker.OnClickChangePortrait(), LayerEditPortrait.OnClickClear(), WindowChara.OnClickPortrait(), LayerEditPortrait.RefreshList(), WindowChara.RefreshStatic(), UICharaMaker.RerollHair(), UICharaMaker.RerollPCC(), ButtonGeneral.SetCard(), ButtonRoster.SetChara(), UICharaMaker.SetChara(), ItemGachaResult.SetChara(), ButtonChara.SetChara(), and SetPerson().
|
inline |
Definition at line 120 of file Portrait.cs.
References Person.chara, Person.hasChara, Person.idPortrait, SetChara(), SetPortrait(), Rand.SetSeed(), Person.source, and Person.uidChara.
Referenced by ContentQuest.SelectQuest(), ItemQuest.SetQuest(), and DramaActor.Talk().
|
inline |
Definition at line 225 of file Portrait.cs.
References CoreConfig.Test.aaPortrait, Color, Core.config, enableFull, filter, imageFull, Core.Instance, overlay, portrait, showPortrait, and CoreConfig.test.
|
inline |
Definition at line 213 of file Portrait.cs.
References enableFull, ModItemList< T >.GetItem(), ModItemList< T >.GetObject(), imageFull, modFull, modOverlays, modPortraits, and SetPortrait().
Referenced by LayerLoadGame.RefreshInfo(), LayerEditPortrait.RefreshList(), SetChara(), SetPerson(), and SetPortrait().
|
static |
Definition at line 20 of file Portrait.cs.
Referenced by Chara.GetIdPortrait(), and ModManager.ParseExtra().
float Portrait.charaScale = 1f |
Definition at line 44 of file Portrait.cs.
Referenced by SetChara().
|
static |
Definition at line 18 of file Portrait.cs.
Referenced by ListPortraits().
bool Portrait.enableFull = true |
Definition at line 36 of file Portrait.cs.
Referenced by SetPortrait().
|
private |
Definition at line 46 of file Portrait.cs.
Referenced by SetPortrait().
bool Portrait.fixSpritePos = true |
Definition at line 40 of file Portrait.cs.
Referenced by SetChara().
bool Portrait.hideIfNoPortrait |
Definition at line 38 of file Portrait.cs.
Referenced by SetChara().
Image Portrait.imageChara |
Definition at line 26 of file Portrait.cs.
Referenced by SetChara().
Image Portrait.imageFaith |
Definition at line 28 of file Portrait.cs.
Referenced by SetChara().
Image Portrait.imageFrame |
Definition at line 32 of file Portrait.cs.
Image Portrait.imageFull |
Definition at line 30 of file Portrait.cs.
Referenced by SetPortrait().
|
static |
Definition at line 16 of file Portrait.cs.
Referenced by ModManager.ParseExtra(), and SetPortrait().
|
static |
Definition at line 14 of file Portrait.cs.
Referenced by ModManager.ParseExtra(), and SetPortrait().
|
static |
Definition at line 8 of file Portrait.cs.
Referenced by ModManager.ParseExtra(), WindowChara.RefreshStatic(), and WindowChara.SetPortraitFrame().
|
static |
Definition at line 10 of file Portrait.cs.
Referenced by ModManager.ParseExtra(), WindowChara.RefreshStatic(), and WindowChara.SetPortraitBG().
|
static |
Definition at line 12 of file Portrait.cs.
Referenced by Exists(), ListPortraits(), ModManager.ParseExtra(), Person.Person(), LayerNewspaper.RefreshNews(), SetChara(), and SetPortrait().
Image Portrait.overlay |
Definition at line 24 of file Portrait.cs.
Referenced by SetPortrait().
Image Portrait.portrait |
Definition at line 22 of file Portrait.cs.
Referenced by SetChara(), and SetPortrait().
bool Portrait.showPortrait = true |
Definition at line 42 of file Portrait.cs.
Referenced by SetPortrait().
Sprite Portrait.spriteNoPortrait |
Definition at line 34 of file Portrait.cs.
Referenced by SetChara().