Endstar LUA API Documentation
Loading...
Searching...
No Matches
CharacterCosmeticProfile Class Reference

Public Member Functions

CharacterCosmeticProfile RandomizeAll ()
 Randomizes all aspects of the Character Cosmetic Profile.
 
CharacterCosmeticProfile RandomizeOutfit ()
 Randomizes the outfit, texture, and slots of this Character Cosmetic Profile.
 
CharacterCosmeticProfile RandomizeTexture ()
 Randomizes the texture, and slots of this Character Cosmetic Profile, keeping the Character and Outfit.
 
CharacterCosmeticProfile RandomizeSlots ()
 Randomizes the slots of this Character Cosmetic Profile, keeping the Character, Outfit, and Texture.
 
bool Equals (CharacterCosmeticProfile other)
 
void NetworkSerialize< T > (BufferSerializer< T > serializer)
 
override string ToString ()
 

Static Public Member Functions

static CharacterCosmeticProfile FromVariantWithDefaultCustomization (CharacterTexture variant)
 
static CharacterCosmeticProfile FromVariantWithRandomCustomization (CharacterTexture variant)
 
static CharacterCosmeticProfile FromSelectionWithRandomCustomization (IReadOnlyList< CharacterTexture > textureChoices, CharacterTexture currentTexture, CustomizationData currentData)
 
static bool IsNullOrEmpty (CharacterCosmeticProfile characterCosmeticProfile)
 

Public Attributes

SerializableGuid CharacterVariantId
 
CustomizationData CustomizationData = new()
 

Member Function Documentation

◆ Equals()

bool Equals ( CharacterCosmeticProfile other)

◆ FromSelectionWithRandomCustomization()

static CharacterCosmeticProfile FromSelectionWithRandomCustomization ( IReadOnlyList< CharacterTexture > textureChoices,
CharacterTexture currentTexture,
CustomizationData currentData )
static

◆ FromVariantWithDefaultCustomization()

static CharacterCosmeticProfile FromVariantWithDefaultCustomization ( CharacterTexture variant)
static

◆ FromVariantWithRandomCustomization()

static CharacterCosmeticProfile FromVariantWithRandomCustomization ( CharacterTexture variant)
static

◆ IsNullOrEmpty()

static bool IsNullOrEmpty ( CharacterCosmeticProfile characterCosmeticProfile)
static

◆ NetworkSerialize< T >()

void NetworkSerialize< T > ( BufferSerializer< T > serializer)
Type Constraints
T :IReaderWriter 

◆ RandomizeAll()

CharacterCosmeticProfile RandomizeAll ( )

Randomizes all aspects of the Character Cosmetic Profile.

Returns
A new CharacterCosmeticProfile

◆ RandomizeOutfit()

CharacterCosmeticProfile RandomizeOutfit ( )

Randomizes the outfit, texture, and slots of this Character Cosmetic Profile.

Returns
A new CharacterCosmeticProfile

◆ RandomizeSlots()

CharacterCosmeticProfile RandomizeSlots ( )

Randomizes the slots of this Character Cosmetic Profile, keeping the Character, Outfit, and Texture.

Returns
A new CharacterCosmeticProfile

◆ RandomizeTexture()

CharacterCosmeticProfile RandomizeTexture ( )

Randomizes the texture, and slots of this Character Cosmetic Profile, keeping the Character and Outfit.

Returns
A new CharacterCosmeticProfile

◆ ToString()

override string ToString ( )

Member Data Documentation

◆ CharacterVariantId

SerializableGuid CharacterVariantId

◆ CustomizationData

CustomizationData CustomizationData = new()