Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Public Attributes | List of all members
EventFloatMax Class Reference

Event wrapper which returns the maximum returned value of all methods More...

Inheritance diagram for EventFloatMax:
BaseGameEvent

Public Member Functions

void Add (OnEvent evt)
 Adds a event to this event list More...
 
 EventFloatMax (string eventName, float defaultValue=0f)
 
float Fire ()
 Fires all events in this event list More...
 
delegate float OnEvent ()
 
void Remove (OnEvent evt)
 Removes an event from this list More...
 
- Public Member Functions inherited from BaseGameEvent
 BaseGameEvent (string eventName)
 

Public Attributes

float defaultValue
 
- Public Attributes inherited from BaseGameEvent
bool debugEvent = false
 

Additional Inherited Members

- Protected Attributes inherited from BaseGameEvent
string eventName
 
- Properties inherited from BaseGameEvent
string EventName [get]
 

Detailed Description

Event wrapper which returns the maximum returned value of all methods

Constructor & Destructor Documentation

EventFloatMax.EventFloatMax ( string  eventName,
float  defaultValue = 0f 
)
inline

Member Function Documentation

void EventFloatMax.Add ( OnEvent  evt)
inline

Adds a event to this event list

Parameters
evtdelegate void OnEvent()
float EventFloatMax.Fire ( )
inline

Fires all events in this event list

delegate float EventFloatMax.OnEvent ( )
void EventFloatMax.Remove ( OnEvent  evt)
inline

Removes an event from this list

Parameters
evtdelegate void OnEvent()

Member Data Documentation

float EventFloatMax.defaultValue

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