#include <visualdebugattributes.h>
A group of Key / valuetype / arrayof values, where the keys and types are created once, and values updated whenever.
Usage:
Public Member Functions | |
VisualDebugAttribute * | CreateFloatAttribute (const char *name, KyUInt32 statValueEnum, KyUInt32 valueCount=1, VisualDebugAttributeHeader *header=nullptr) |
Call these to build your stat group. More... | |
void | UpdateStringValue (KyUInt32 valEnum, const char *val) |
Call this to update your stat group. More... | |
bool | IsDescriptionSent () |
The decription must be sent only once on creation or on reconnection. More... | |
void | SendGroupDescription (VisualDebugServer *visualDebugServer) |
Send the group description (items' names, types, headers) More... | |
void | SendGroupValues (VisualDebugServer *visualDebugServer) |
Send the group values (items' values only) More... | |
VisualDebugAttribute * Kaim::VisualDebugAttributeGroup::CreateFloatAttribute | ( | const char * | name, |
KyUInt32 | statValueEnum, | ||
KyUInt32 | valueCount = 1 , |
||
VisualDebugAttributeHeader * | header = nullptr |
||
) |
Call these to build your stat group.
|
inline |
The decription must be sent only once on creation or on reconnection.
void Kaim::VisualDebugAttributeGroup::SendGroupDescription | ( | VisualDebugServer * | visualDebugServer | ) |
Send the group description (items' names, types, headers)
void Kaim::VisualDebugAttributeGroup::SendGroupValues | ( | VisualDebugServer * | visualDebugServer | ) |
Send the group values (items' values only)
void Kaim::VisualDebugAttributeGroup::UpdateStringValue | ( | KyUInt32 | valEnum, |
const char * | val | ||
) |
Call this to update your stat group.