Kerbal Space Program
1.12.4
|
Event wrapper which returns the minimum returned value of all methods More...
Public Member Functions | |
void | Add (OnEvent evt) |
Adds a event to this event list More... | |
EventValueOperation (string eventName, T defaultValue, OnOperation operation) | |
delegate T | OnEvent () |
delegate T | OnOperation (T a, T b) |
void | Remove (OnEvent evt) |
Removes an event from this list More... | |
void | Update () |
Fires all events in this event list More... | |
Public Member Functions inherited from BaseGameEvent | |
BaseGameEvent (string eventName) | |
Properties | |
string | gameEventName [get, set] |
T | value [get, set] |
Properties inherited from BaseGameEvent | |
string | EventName [get] |
Additional Inherited Members | |
Public Attributes inherited from BaseGameEvent | |
bool | debugEvent = false |
Protected Attributes inherited from BaseGameEvent | |
string | eventName |
Event wrapper which returns the minimum returned value of all methods
|
inline |
|
inline |
Adds a event to this event list
evt | delegate void OnEvent() |
delegate T EventValueOperation< T >.OnEvent | ( | ) |
delegate T EventValueOperation< T >.OnOperation | ( | T | a, |
T | b | ||
) |
|
inline |
Removes an event from this list
evt | delegate void OnEvent() |
|
inline |
Fires all events in this event list
|
getset |
|
getset |