Author Topic: "State" class methods listed under "Base" in VoiceAttackHelp.pdf  (Read 2026 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4761
  • RTFM
As discovered in this topic, a number of methods which have been moved to the "State" class are still listed in their original location under the "Base" class:

On VoiceAttackHelp.pdf page 174:
GetListeningEnabled()
SetListeningEnabled(bool Value)
GetShortcutsEnabled()
SetShortcutsEnabled(bool Value)
GetJoystickButtonsEnabled()
SetJoystickButtonsEnabled(bool Value)
GetMouseButtonsEnabled()
SetMouseButtonsEnabled(bool Value)



As an aside, a few methods in the "Base" class which are derived from existing tokens with a "{STATE_" prefix, are not currently grouped under the "State" class:

On VoiceAttackHelp.pdf page 175:
VAVersion("{STATE_VA_VERSION}")

On VoiceAttackHelp.pdf page 176:
IsRelease("{STATE_VA_VERSION_ISRELEASE}")
PluginsEnabled("{STATE_VA_PLUGINSENABLED}")
NestedTokensEnabled("{STATE_VA_NESTEDTOKENSENABLED}")


The "AutoProfileSwitchingEnabled" property does not have a token counterpart, however it may also fit in this class.


EDIT: Methods already grouped under the "State" class are now documented as such with v1.7.5.4
« Last Edit: April 22, 2019, 10:22:23 PM by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: "State" class methods listed under "Base" in VoiceAttackHelp.pdf
« Reply #1 on: April 10, 2019, 08:30:23 PM »
Thanks, Pfeil.  I moved the items from base to, 'State' in the documentation.  The other items (STATE_VA_*) I put in the base as they relate more to VA and the proxy than a system state.  The tokens are not named very well (well, actually - organizationally (and for the time they were created) they are ok - but in light of all that's changed they are poorly named).