Helper class for creating SettingNode
s for simple settings that implement SettingBaseValueV3
Class SettingValueNodeV3<S>
#include <Geode/loader/SettingV3.hpp>
template<class S>classSettingValueNodeV3:publicgeode::SettingNodeV3{ ... }
Examples0
Public static methods0
Public member functions3
typename S::ValueTypegetValue()const
Get the uncommitted value for this node
voidsetValue(,cocos2d::CCNode*invoker)
Set the uncommitted value for this node
value
The value to set
invoker
The node that invoked this value change; see the docs for `SettingNodeV3::updateState` to know more
std::shared_ptr<S>getSetting()const
No description provided
Fields0
Protected member functions6
virtualvoidupdateState(cocos2d::CCNode*invoker)
No description provided
virtualvoidonCommit()
No description provided
virtualboolhasUncommittedChanges()const
No description provided
virtualboolhasNonDefaultValue()const
No description provided
virtualvoidonResetToDefault()
No description provided