Editors::StdEditorLimits class

Base classes

class IEditorLimits

Public types

enum EditorLimitType { kBudget = 0, kComplexity = 1 }

Public functions

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