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

Private Member Functions

void MenuDefaultCharacterData ()
 
void Init ()
 
void ClearAttachmentsMap ()
 
void SetDefaultAttachment (int slotID, string type)
 
void GenerateRandomEquip ()
 
void EquipDefaultCharacter (Man player)
 
void SerializeCharacterData (ParamsWriteContext ctx)
 serializes data into a param array to be used by "StoreLoginData(notnull array<ref Param> params);"
 
bool DeserializeCharacterData (ParamsReadContext ctx)
 
void SetCharacterName (string name)
 
string GetCharacterName ()
 
void SetCharacterType (string character_type)
 
string GetCharacterType ()
 
void SetRandomCharacterForced (bool state)
 
bool IsRandomCharacterForced ()
 
map< int, stringGetAttachmentMap ()
 
void DumpAttMapContents ()
 

Private Attributes

string m_CharacterName
 
string m_CharacterType
 
ref map< int, stringm_AttachmentsMap
 
bool m_ForceRandomCharacter
 

Constructor & Destructor Documentation

◆ MenuDefaultCharacterData()

void MenuDefaultCharacterData ( )
inlineprivate

References Init().

Member Function Documentation

◆ ClearAttachmentsMap()

void ClearAttachmentsMap ( )
inlineprivate

References m_AttachmentsMap.

Referenced by GenerateRandomEquip().

◆ DeserializeCharacterData()

bool DeserializeCharacterData ( ParamsReadContext  ctx)
inlineprivate

◆ DumpAttMapContents()

void DumpAttMapContents ( )
inlineprivate

References m_AttachmentsMap, and Print().

◆ EquipDefaultCharacter()

◆ GenerateRandomEquip()

◆ GetAttachmentMap()

map< int, string > GetAttachmentMap ( )
inlineprivate

References m_AttachmentsMap.

Referenced by MissionBase::EquipCharacter().

◆ GetCharacterName()

string GetCharacterName ( )
inlineprivate

◆ GetCharacterType()

string GetCharacterType ( )
inlineprivate

◆ Init()

void Init ( )
inlineprivate

◆ IsRandomCharacterForced()

bool IsRandomCharacterForced ( )
inlineprivate

◆ SerializeCharacterData()

void SerializeCharacterData ( ParamsWriteContext  ctx)
inlineprivate

serializes data into a param array to be used by "StoreLoginData(notnull array<ref Param> params);"

References m_AttachmentsMap, m_CharacterName, m_CharacterType, m_ForceRandomCharacter, and Serializer::Write().

Referenced by MenuData::OnSetDefaultCharacter(), and CGame::StoreLoginDataPrepare().

◆ SetCharacterName()

void SetCharacterName ( string  name)
inlineprivate

◆ SetCharacterType()

void SetCharacterType ( string  character_type)
inlineprivate

◆ SetDefaultAttachment()

void SetDefaultAttachment ( int  slotID,
string  type 
)
inlineprivate

◆ SetRandomCharacterForced()

void SetRandomCharacterForced ( bool  state)
inlineprivate

Field Documentation

◆ m_AttachmentsMap

◆ m_CharacterName

◆ m_CharacterType

◆ m_ForceRandomCharacter


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