◆ CastFrom()
static proto ChimeraWorld ChimeraWorld.CastFrom |
( |
BaseWorld |
world | ) |
|
|
static |
◆ GetGarbageSystem()
◆ 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()
◆ 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()
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:
- Game/generated/Core/ChimeraWorld.c