Editors::StdEditorLimits class

Base classes

class IEditorLimits

Public types

enum (anonymous) { kBudget = 0, kComplexity = 1 }

Public functions

void EnsureLimit(int index) virtual
Limits the value at the given index so that it's not greater than the limit.
void AddValue(int index, int value) virtual
Adds a certain amount to the value of the given index.
void SetValue(int index, int value) virtual
Sets a certain value of the given index.
auto func28h(int) -> bool virtual
void func2Ch(int) virtual
void func30h(int) virtual
auto func34h(int) -> bool virtual
void func38h(int, int) virtual

Public variables

eastl::vector<int> mValues
eastl::vector<int> mLimits

Function documentation

void Editors::StdEditorLimits::AddValue(int index, int value) virtual

Adds a certain amount to the value of the given index.

The total value will be capped at its limit. A message of type 0x3150C27 will be sent

void Editors::StdEditorLimits::SetValue(int index, int value) virtual

Sets a certain value of the given index.

The total value will be capped at its limit. A message of type 0x3150C27 will be sent