PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
PlayerSpawnPreset Class Reference

Private Member Functions

string GetRandomCharacterType ()
 
override bool IsValid ()
 
bool HasAttachmentSlotSetsDefined ()
 preset might be valid even with no attachmentSlotItemSets configured, checked separately
 
bool HasDiscreteUnsortedItemSetsDefined ()
 preset might be valid even with no unsorted item sets configured, checked separately
 

Private Attributes

int spawnWeight
 
string name
 
ref array< stringcharacterTypes
 
ref array< ref PlayerSpawnPresetSlotData > attachmentSlotItemSets
 
ref array< ref PlayerSpawnPresetDiscreteCargoSetData > discreteUnsortedItemSets
 

Member Function Documentation

◆ GetRandomCharacterType()

string GetRandomCharacterType ( )
inlineprivate

◆ HasAttachmentSlotSetsDefined()

bool HasAttachmentSlotSetsDefined ( )
inlineprivate

preset might be valid even with no attachmentSlotItemSets configured, checked separately

References attachmentSlotItemSets.

Referenced by PlayerSpawnHandler::ProcessSlotsEquipment().

◆ HasDiscreteUnsortedItemSetsDefined()

bool HasDiscreteUnsortedItemSetsDefined ( )
inlineprivate

preset might be valid even with no unsorted item sets configured, checked separately

References discreteUnsortedItemSets.

Referenced by PlayerSpawnHandler::ProcessCargoEquipment().

◆ IsValid()

Field Documentation

◆ attachmentSlotItemSets

ref array<ref PlayerSpawnPresetSlotData> attachmentSlotItemSets
private

◆ characterTypes

ref array<string> characterTypes
private

Referenced by GetRandomCharacterType().

◆ discreteUnsortedItemSets

ref array<ref PlayerSpawnPresetDiscreteCargoSetData> discreteUnsortedItemSets
private

◆ name

string name
private

Referenced by IsValid().

◆ spawnWeight

int spawnWeight
private

The documentation for this class was generated from the following file: