Table of Contents

Class JollyPlayerSelector

Namespace
JollyCoop.JollyMenu
Assembly
Assembly-CSharp.dll
public class JollyPlayerSelector : PositionedMenuObject
Inheritance
JollyPlayerSelector
Inherited Members

Constructors

JollyPlayerSelector(JollySetupDialog, MenuObject, Vector2, int)

public JollyPlayerSelector(JollySetupDialog menu, MenuObject owner, Vector2 pos, int index)

Parameters

menu JollySetupDialog
owner MenuObject
pos Vector2
index int

Fields

COLOR_BUTTON

public const string COLOR_BUTTON = "JOLLYCOLORDIALOG"

Field Value

string

DefaultPlayerLabel

public readonly string DefaultPlayerLabel

Field Value

string

bodyTintColor

public Color bodyTintColor

Field Value

Color

classButton

public SimpleButton classButton

Field Value

SimpleButton

colorConfig

public SimpleButton colorConfig

Field Value

SimpleButton

dialog

public JollySetupDialog dialog

Field Value

JollySetupDialog

dirty

public bool dirty

Field Value

bool

faceTintColor

public Color faceTintColor

Field Value

Color

index

public int index

Field Value

int

labelFade

public float labelFade

Field Value

float

labelFadeCounter

public int labelFadeCounter

Field Value

int

lastPortraitBlack

public float lastPortraitBlack

Field Value

float

pLabelSelectorWrapper

public UIelementWrapper pLabelSelectorWrapper

Field Value

UIelementWrapper

playerLabelConsole

public MenuLabel playerLabelConsole

Field Value

MenuLabel

playerLabelSelector

public OpTextBox playerLabelSelector

Field Value

OpTextBox

portrait

public MenuIllustration portrait

Field Value

MenuIllustration

portraitBlack

public float portraitBlack

Field Value

float

portraitRectangle

public RoundedRect portraitRectangle

Field Value

RoundedRect

portraitTint

public bool portraitTint

Field Value

bool

pupButton

public SymbolButtonTogglePupButton pupButton

Field Value

SymbolButtonTogglePupButton

slugName

public SlugcatStats.Name slugName

Field Value

SlugcatStats.Name

uniqueTintColor

public Color uniqueTintColor

Field Value

Color

Properties

Joined

public bool Joined { get; set; }

Property Value

bool

Methods

AddColorButton()

public void AddColorButton()

FadePortraitSprite(Color, float)

public Color FadePortraitSprite(Color toFade, float timeStacker)

Parameters

toFade Color
timeStacker float

Returns

Color

GetPupButtonOffName()

public string GetPupButtonOffName()

Returns

string

GrafUpdate(float)

public override void GrafUpdate(float timeStacker)

Parameters

timeStacker float

JollyOptions(int)

public JollyPlayerOptions JollyOptions(int index)

Parameters

index int

Returns

JollyPlayerOptions

JollyPortraitName(Name, int)

public string JollyPortraitName(SlugcatStats.Name className, int colorIndexFile)

Parameters

className SlugcatStats.Name
colorIndexFile int

Returns

string

OnPlayerLabelSelectorHeld(bool)

public void OnPlayerLabelSelectorHeld(bool held)

Parameters

held bool

PlayerLabel_OnValueUpdate(UIconfig, string, string)

public void PlayerLabel_OnValueUpdate(UIconfig config, string value, string oldValue)

Parameters

config UIconfig
value string
oldValue string

RemoveColorButton()

public void RemoveColorButton()

SetPortraitImage(Name, int)

public void SetPortraitImage(SlugcatStats.Name className, int colorIndexFile = -1)

Parameters

className SlugcatStats.Name
colorIndexFile int

SetPortraitImage(Name, Color)

public void SetPortraitImage(SlugcatStats.Name className, Color colorTint)

Parameters

className SlugcatStats.Name
colorTint Color

Update()

public override void Update()