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
EventFloatMin Class Reference

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

Inheritance diagram for EventFloatMin:
BaseGameEvent

Public Member Functions

void Add (OnEvent evt)
 Adds a event to this event list More...
 
 EventFloatMin (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 minimum returned value of all methods

Constructor & Destructor Documentation

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

Member Function Documentation

void EventFloatMin.Add ( OnEvent  evt)
inline

Adds a event to this event list

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

Fires all events in this event list

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

Removes an event from this list

Parameters
evtdelegate void OnEvent()

Member Data Documentation

float EventFloatMin.defaultValue

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