- Namespace
- JollyCoop.JollyMenu
- Assembly
- Assembly-CSharp.dll
public class JollyPlayerSelector : PositionedMenuObject
- Inheritance
-
JollyPlayerSelector
- Inherited Members
-
Constructors
public JollyPlayerSelector(JollySetupDialog menu, MenuObject owner, Vector2 pos, int index)
Parameters
menu JollySetupDialog
owner MenuObject
pos Vector2
index int
Fields
public const string COLOR_BUTTON = "JOLLYCOLORDIALOG"
Field Value
- string
public readonly string DefaultPlayerLabel
Field Value
- string
bodyTintColor
public Color bodyTintColor
Field Value
- Color
public SimpleButton classButton
Field Value
- SimpleButton
public SimpleButton colorConfig
Field Value
- SimpleButton
public JollySetupDialog dialog
Field Value
- JollySetupDialog
Field Value
- bool
public Color faceTintColor
Field Value
- Color
Field Value
- int
Field Value
- float
public int labelFadeCounter
Field Value
- int
public float lastPortraitBlack
Field Value
- float
public UIelementWrapper pLabelSelectorWrapper
Field Value
- UIelementWrapper
public MenuLabel playerLabelConsole
Field Value
- MenuLabel
public OpTextBox playerLabelSelector
Field Value
- OpTextBox
public MenuIllustration portrait
Field Value
- MenuIllustration
public float portraitBlack
Field Value
- float
public RoundedRect portraitRectangle
Field Value
- RoundedRect
Field Value
- bool
public SymbolButtonTogglePupButton pupButton
Field Value
- SymbolButtonTogglePupButton
public SlugcatStats.Name slugName
Field Value
- SlugcatStats.Name
public Color uniqueTintColor
Field Value
- Color
Properties
public bool Joined { get; set; }
Property Value
- bool
Methods
public void AddColorButton()
public Color FadePortraitSprite(Color toFade, float timeStacker)
Parameters
toFade Color
timeStacker float
Returns
- Color
public string GetPupButtonOffName()
Returns
- string
public override void GrafUpdate(float timeStacker)
Parameters
timeStacker float
public JollyPlayerOptions JollyOptions(int index)
Parameters
index int
Returns
- JollyPlayerOptions
public string JollyPortraitName(SlugcatStats.Name className, int colorIndexFile)
Parameters
className SlugcatStats.Name
colorIndexFile int
Returns
- string
public void OnPlayerLabelSelectorHeld(bool held)
Parameters
held bool
public void PlayerLabel_OnValueUpdate(UIconfig config, string value, string oldValue)
Parameters
config UIconfig
value string
oldValue string
public void RemoveColorButton()
public void SetPortraitImage(SlugcatStats.Name className, int colorIndexFile = -1)
Parameters
className SlugcatStats.Name
colorIndexFile int
public void SetPortraitImage(SlugcatStats.Name className, Color colorTint)
Parameters
className SlugcatStats.Name
colorTint Color
public override void Update()