Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ChimeraWorld Interface Reference
Inheritance diagram for ChimeraWorld:
[legend]

Public Member Functions

proto external TimeAndWeatherManagerEntity GetTimeAndWeatherManager ()
 Returns the time and weather manager entity.
 
proto external GarbageSystem GetGarbageSystem ()
 
proto external RadioManagerEntity GetRadioManager ()
 
proto external ItemPreviewManagerEntity GetItemPreviewManager ()
 
proto external MusicManager GetMusicManager ()
 
proto external SoundWorld GetSoundWorld ()
 
proto external WorldTimestamp GetServerTimestamp ()
 Returns server-side timestamp of the world.
 
proto external WorldTimestamp GetLocalTimestamp ()
 Returns local timestamp of the world.
 
proto external void PauseGameTime (bool state)
 Pause game time after the current frame.
 
proto external bool IsGameTimePaused ()
 
proto external void RegisterEntityToBeUpdatedWhileGameIsPaused (IEntity entity)
 Register entity to be updated while the game is paused. Deleting of entity is handled correctly on the C++ side.
 
proto external void UnregisterEntityToBeUpdatedWhileGameIsPaused (IEntity entity)
 Unregister the entity, it will not be updated anymore while the game is paused.
 
proto external int GetObservers (notnull array< vector > observers)
 Get 2D observers position.
 
proto external int GetMPObservers (notnull array< vector > observers)
 Get 2D multiplayer observers position.
 

Static Public Member Functions

static proto ChimeraWorld CastFrom (BaseWorld world)
 

Member Function Documentation

◆ CastFrom()

static proto ChimeraWorld ChimeraWorld.CastFrom ( BaseWorld  world)
static

◆ GetGarbageSystem()

proto external GarbageSystem ChimeraWorld.GetGarbageSystem ( )

◆ GetItemPreviewManager()

proto external ItemPreviewManagerEntity ChimeraWorld.GetItemPreviewManager ( )

◆ GetLocalTimestamp()

proto external WorldTimestamp ChimeraWorld.GetLocalTimestamp ( )

Returns local timestamp of the world.

See also
BaseWorld.GetTimestamp().

◆ GetMPObservers()

proto external int ChimeraWorld.GetMPObservers ( notnull array< vector >  observers)

Get 2D multiplayer observers position.

◆ GetMusicManager()

proto external MusicManager ChimeraWorld.GetMusicManager ( )

◆ GetObservers()

proto external int ChimeraWorld.GetObservers ( notnull array< vector >  observers)

Get 2D observers position.

◆ GetRadioManager()

proto external RadioManagerEntity ChimeraWorld.GetRadioManager ( )

◆ GetServerTimestamp()

proto external WorldTimestamp ChimeraWorld.GetServerTimestamp ( )

Returns server-side timestamp of the world.

On server, this is the same as local timestamp. On client, this is a prediction of what current timestamp on server might be, taking into account network latency. This timestamp may jump forward or experience time dilation (slow down or speed up), but it will never go backwards.

◆ GetSoundWorld()

proto external SoundWorld ChimeraWorld.GetSoundWorld ( )

◆ GetTimeAndWeatherManager()

proto external TimeAndWeatherManagerEntity ChimeraWorld.GetTimeAndWeatherManager ( )

Returns the time and weather manager entity.

◆ IsGameTimePaused()

proto external bool ChimeraWorld.IsGameTimePaused ( )

◆ PauseGameTime()

proto external void ChimeraWorld.PauseGameTime ( bool  state)

Pause game time after the current frame.

This will tick only specified entities in the world. This is working only in single-player. Only FRAME and POSTFRAME events will be fired for entities that have been registered to be updated while the game is paused.

◆ RegisterEntityToBeUpdatedWhileGameIsPaused()

proto external void ChimeraWorld.RegisterEntityToBeUpdatedWhileGameIsPaused ( IEntity  entity)

Register entity to be updated while the game is paused. Deleting of entity is handled correctly on the C++ side.

◆ UnregisterEntityToBeUpdatedWhileGameIsPaused()

proto external void ChimeraWorld.UnregisterEntityToBeUpdatedWhileGameIsPaused ( IEntity  entity)

Unregister the entity, it will not be updated anymore while the game is paused.


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