Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_NightModeGameModeComponentClass |
Functions | |
SCR_NightModeGameModeComponentClass SCR_BaseGameModeComponentClass | Attribute ("0", desc:"Set true if you want the GM to be able to set global nightmode. Do not change in runtime", category:"Settings") |
bool | IsLocalEditorNightModeEnabled () |
protected void | ToggleLocalNightModeShortcut () |
void | EnableLocalEditorNightMode (bool enable, bool playSound=true) |
bool | IsGlobalNightModeAllowed () |
bool | IsGlobalNightModeEnabled () |
void | EnableGlobalNightMode (bool enable, int nightModeChangerPlayerID=-1) |
protected void | RPC_EnableGlobalNightMode (bool enable, int nightModeChangerPlayerID) |
bool | IsNightModeEnabled () |
bool | CanEnableNightMode () |
protected void | EnableNightMode (bool enable) |
protected void | OnEditorOpened () |
protected void | OnEditorClosed () |
protected void | OnEditorLimitedChanged (bool isLimited) |
protected void | UpdatePreviewingTimeOrWeather () |
protected void | OnWeatherStatePreview (bool preview, string stateName) |
protected void | OnWindPreview (bool preview, float windSpeed=-1, float windAngleDegrees=-1) |
protected void | OnDateTimePreview (bool preview, int year=-1, int month=-1, int day=-1, float timeOfTheDay=-1) |
ScriptInvokerBool | GetOnLocalEditorNightModeEnabledChanged () |
ScriptInvokerBool | GetOnGlobalNightModeEnabledChanged () |
ScriptInvokerBool | GetOnNightModeEnabledChanged () |
protected void | OnEditorManagerCreated (SCR_EditorManagerEntity editorManager) |
override void | EOnInit (IEntity owner) |
Initialise this component with data from FactionsManager. More... | |
override void | OnPostInit (IEntity owner) |
Editable Mine. More... | |
override void | OnDelete (IEntity owner) |
override bool | RplSave (ScriptBitWriter writer) |
override bool | RplLoad (ScriptBitReader reader) |
SCR_NightModeGameModeComponentClass SCR_BaseGameModeComponentClass Attribute | ( | "0" | , |
desc:"Set true if you want the GM to be able to set global nightmode. Do not change in runtime" | , | ||
category:"Settings" | |||
) |
Definition at line 8 of file SCR_NightModeGameModeComponent.c.
bool CanEnableNightMode | ( | ) |
Definition at line 192 of file SCR_NightModeGameModeComponent.c.
void EnableGlobalNightMode | ( | bool | enable, |
int | nightModeChangerPlayerID = -1 |
||
) |
Enable global night mode Note that enable might fail if the conditions are not met
[in] | enable | To enable or not |
[in] | nightModeChangerPlayerID | If a player ID is given then a notification is sent to all players if global night mode is enabled/disabled |
Definition at line 142 of file SCR_NightModeGameModeComponent.c.
void EnableLocalEditorNightMode | ( | bool | enable, |
bool | playSound = true |
||
) |
Enable local editor night mode Note that enable might fail if the conditions are not met
[in] | enable | To enable or not |
[in] | playSound | To play a sound or not |
Definition at line 102 of file SCR_NightModeGameModeComponent.c.
protected void EnableNightMode | ( | bool | enable | ) |
Definition at line 199 of file SCR_NightModeGameModeComponent.c.
ScriptInvokerBool GetOnGlobalNightModeEnabledChanged | ( | ) |
Definition at line 348 of file SCR_NightModeGameModeComponent.c.
ScriptInvokerBool GetOnLocalEditorNightModeEnabledChanged | ( | ) |
Definition at line 338 of file SCR_NightModeGameModeComponent.c.
ScriptInvokerBool GetOnNightModeEnabledChanged | ( | ) |
Definition at line 358 of file SCR_NightModeGameModeComponent.c.
bool IsGlobalNightModeAllowed | ( | ) |
Definition at line 125 of file SCR_NightModeGameModeComponent.c.
bool IsGlobalNightModeEnabled | ( | ) |
Definition at line 132 of file SCR_NightModeGameModeComponent.c.
bool IsLocalEditorNightModeEnabled | ( | ) |
Definition at line 86 of file SCR_NightModeGameModeComponent.c.
bool IsNightModeEnabled | ( | ) |
Definition at line 185 of file SCR_NightModeGameModeComponent.c.
protected void OnDateTimePreview | ( | bool | preview, |
int | year = -1 , |
||
int | month = -1 , |
||
int | day = -1 , |
||
float | timeOfTheDay = -1 |
||
) |
Definition at line 331 of file SCR_NightModeGameModeComponent.c.
protected void OnEditorClosed | ( | ) |
Definition at line 253 of file SCR_NightModeGameModeComponent.c.
protected void OnEditorLimitedChanged | ( | bool | isLimited | ) |
Definition at line 266 of file SCR_NightModeGameModeComponent.c.
protected void OnEditorManagerCreated | ( | SCR_EditorManagerEntity | editorManager | ) |
Definition at line 367 of file SCR_NightModeGameModeComponent.c.
protected void OnEditorOpened | ( | ) |
Definition at line 244 of file SCR_NightModeGameModeComponent.c.
protected void OnWeatherStatePreview | ( | bool | preview, |
string | stateName | ||
) |
Definition at line 319 of file SCR_NightModeGameModeComponent.c.
protected void OnWindPreview | ( | bool | preview, |
float | windSpeed = -1 , |
||
float | windAngleDegrees = -1 |
||
) |
Definition at line 325 of file SCR_NightModeGameModeComponent.c.
protected void RPC_EnableGlobalNightMode | ( | bool | enable, |
int | nightModeChangerPlayerID | ||
) |
Definition at line 158 of file SCR_NightModeGameModeComponent.c.
override bool RplLoad | ( | ScriptBitReader | reader | ) |
Definition at line 485 of file SCR_NightModeGameModeComponent.c.
override bool RplSave | ( | ScriptBitWriter | writer | ) |
Definition at line 476 of file SCR_NightModeGameModeComponent.c.
protected void ToggleLocalNightModeShortcut | ( | ) |
Definition at line 92 of file SCR_NightModeGameModeComponent.c.
protected void UpdatePreviewingTimeOrWeather | ( | ) |
Definition at line 274 of file SCR_NightModeGameModeComponent.c.