Kerbal Space Program
1.12.4
|
Generic event wrapper More...
Public Member Functions | |
void | Add (OnEvent evt) |
Adds a event to this event list More... | |
EventDataModifier (string eventName) | |
T | Fire (T d1, U d2) |
Fires all events in this event list More... | |
delegate T | OnEvent (T d1, U d2) |
void | Remove (OnEvent evt) |
Removes an event from this list More... | |
Public Member Functions inherited from BaseGameEvent | |
BaseGameEvent (string eventName) | |
Additional Inherited Members | |
Public Attributes inherited from BaseGameEvent | |
bool | debugEvent = false |
Protected Attributes inherited from BaseGameEvent | |
string | eventName |
Properties inherited from BaseGameEvent | |
string | EventName [get] |
Generic event wrapper
T | DataType class/strut |
|
inline |
|
inline |
Adds a event to this event list
evt | delegate void OnEvent(DataType) |
|
inline |
Fires all events in this event list
data | Data class/strut |
delegate T EventDataModifier< T, U >.OnEvent | ( | T | d1, |
U | d2 | ||
) |
|
inline |
Removes an event from this list
evt | delegate void OnEvent(DataType) |