![]() |
Kerbal Space Program
1.12.4
|
Structure of actions to be taken when an alarm is triggered More...
Public Types | |
| enum | MessageEnum { MessageEnum.No, MessageEnum.Yes, MessageEnum.YesIfOtherVessel } |
| Message Actions More... | |
| enum | WarpEnum { WarpEnum.DoNothing, WarpEnum.KillWarp, WarpEnum.PauseGame } |
| Warp Actions More... | |
Public Member Functions | |
| AlarmActions () | |
| Constructor More... | |
| AlarmActions (WarpEnum Warp, MessageEnum Message, bool PlaySound, bool DeleteWhenDone) | |
| Constructor More... | |
| AlarmActions | Duplicate () |
| Make a copy of the action object More... | |
| void | Load (ConfigNode node) |
| void | Save (ConfigNode node) |
| override string | ToString () |
Public Attributes | |
| bool | deleteWhenDone = false |
| Should the alarm be deleted once actioned More... | |
| MessageEnum | message = MessageEnum.Yes |
| What type of message to display More... | |
| bool | playSound = false |
| Should a sound be played when the alarm is hit More... | |
| WarpEnum | warp = WarpEnum.KillWarp |
| How to handle Timewarp More... | |
Structure of actions to be taken when an alarm is triggered
|
inline |
Constructor
|
inline |
Constructor
| Warp | Warp Effect |
| Message | Message Options |
| PlaySound | Play a sound |
| DeleteWhenDone | Delete when actioned |
|
inline |
Make a copy of the action object
|
inline |
Implements IConfigNode.
|
inline |
Implements IConfigNode.
|
inline |
| bool AlarmActions.deleteWhenDone = false |
Should the alarm be deleted once actioned
| MessageEnum AlarmActions.message = MessageEnum.Yes |
What type of message to display
| bool AlarmActions.playSound = false |
Should a sound be played when the alarm is hit
| WarpEnum AlarmActions.warp = WarpEnum.KillWarp |
How to handle Timewarp
1.8.7