Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMDebugMenuCheckboxEventListener Class Reference

A class used to listen to events from a MMDebugMenu's checkbox More...

Inheritance diagram for MoreMountains.Tools.MMDebugMenuCheckboxEventListener:

Public Member Functions

virtual void OnEnable ()
 Starts listening for events More...
 
virtual void OnDisable ()
 Stops listening for events More...
 

Public Attributes

string CheckboxEventName = "CheckboxEventName"
 the name of the event to listen to More...
 
MMDCheckboxPressedEvent MMDPressedEvent
 an event fired when the checkbox gets pressed More...
 
MMDCheckboxTrueEvent MMDTrueEvent
 an event fired when the checkbox is pressed and becomes true/checked More...
 
MMDCheckboxFalseEvent MMDFalseEvent
 an event fired when the checkbox is pressed and becomes false/unchecked More...
 
bool TestValue = true
 
bool TestSetValueButton
 

Protected Member Functions

virtual void TestSetValue ()
 This test methods will send a set event to all checkboxes bound to the CheckboxEventName More...
 
virtual void OnMMDebugMenuCheckboxEvent (string checkboxNameEvent, bool value, MMDebugMenuCheckboxEvent.EventModes eventMode)
 When get a checkbox event, we invoke our events if needed More...
 

Detailed Description

A class used to listen to events from a MMDebugMenu's checkbox

Member Function Documentation

◆ OnDisable()

virtual void MoreMountains.Tools.MMDebugMenuCheckboxEventListener.OnDisable ( )
virtual

Stops listening for events

◆ OnEnable()

virtual void MoreMountains.Tools.MMDebugMenuCheckboxEventListener.OnEnable ( )
virtual

Starts listening for events

◆ OnMMDebugMenuCheckboxEvent()

virtual void MoreMountains.Tools.MMDebugMenuCheckboxEventListener.OnMMDebugMenuCheckboxEvent ( string  checkboxNameEvent,
bool  value,
MMDebugMenuCheckboxEvent.EventModes  eventMode 
)
protectedvirtual

When get a checkbox event, we invoke our events if needed

Parameters
checkboxNameEvent
value

◆ TestSetValue()

virtual void MoreMountains.Tools.MMDebugMenuCheckboxEventListener.TestSetValue ( )
protectedvirtual

This test methods will send a set event to all checkboxes bound to the CheckboxEventName

Member Data Documentation

◆ CheckboxEventName

string MoreMountains.Tools.MMDebugMenuCheckboxEventListener.CheckboxEventName = "CheckboxEventName"

the name of the event to listen to

◆ MMDFalseEvent

MMDCheckboxFalseEvent MoreMountains.Tools.MMDebugMenuCheckboxEventListener.MMDFalseEvent

an event fired when the checkbox is pressed and becomes false/unchecked

◆ MMDPressedEvent

MMDCheckboxPressedEvent MoreMountains.Tools.MMDebugMenuCheckboxEventListener.MMDPressedEvent

an event fired when the checkbox gets pressed

◆ MMDTrueEvent

MMDCheckboxTrueEvent MoreMountains.Tools.MMDebugMenuCheckboxEventListener.MMDTrueEvent

an event fired when the checkbox is pressed and becomes true/checked

◆ TestSetValueButton

bool MoreMountains.Tools.MMDebugMenuCheckboxEventListener.TestSetValueButton

◆ TestValue

bool MoreMountains.Tools.MMDebugMenuCheckboxEventListener.TestValue = true

The documentation for this class was generated from the following file: