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

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

Inheritance diagram for EventIntMax:
BaseGameEvent

Public Member Functions

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

Public Attributes

int 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

EventIntMax.EventIntMax ( string  eventName,
int  defaultValue = 0 
)
inline

Member Function Documentation

void EventIntMax.Add ( OnEvent  evt)
inline

Adds a event to this event list

Parameters
evtdelegate void OnEvent()
int EventIntMax.Fire ( )
inline

Fires all events in this event list

delegate int EventIntMax.OnEvent ( )
void EventIntMax.Remove ( OnEvent  evt)
inline

Removes an event from this list

Parameters
evtdelegate void OnEvent()

Member Data Documentation

int EventIntMax.defaultValue

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