Listens to CryEngine's LevelSystem and forwards events from it. Classes may use events from this class to be informed about Level System state changes. More...
Inherits ILevelSystemListener.
Public Member Functions | |
override void | OnLevelNotFound (string levelName) |
Called by the engine when a level was not found. More... | |
override void | OnLoadingStart (ILevelInfo pLevel) |
Called by the engine when loading a level has started. More... | |
override void | OnLoadingLevelEntitiesStart (ILevelInfo pLevel) |
Called by the engine when loading the entities in a level has started. More... | |
override void | OnLoadingComplete (ILevelInfo pLevel) |
Called by the engine when loading a level has completed. More... | |
override void | OnLoadingError (ILevelInfo pLevel, string error) |
Called by the engine when there is an error during loading. More... | |
override void | OnLoadingProgress (ILevelInfo pLevel, int progressAmount) |
Called by the engine when there is loading progress. More... | |
override void | OnUnloadComplete (ILevelInfo pLevel) |
Called by the engine when unloading has completed. More... | |
override void | Dispose () |
Disposes of this instance. More... | |
Events | |
static Action< EventArgs< string > > | LevelNotFound |
Invked if a level is not found. More... | |
static Action< EventArgs< ILevelInfo > > | LoadingStart |
Invoked when loading a level has started. More... | |
static Action< EventArgs< ILevelInfo > > | LoadingLevelEntitiesStart |
Invoked when loading entities in a level has started. More... | |
static Action< EventArgs< ILevelInfo, string > > | LoadingError |
Invoked when there is an error during loading. More... | |
static Action< EventArgs< ILevelInfo, int > > | LoadingProgress |
Invoked when there is loading progress. More... | |
static Action< EventArgs< ILevelInfo > > | LoadingComplete |
Invoked when loading has completed. More... | |
static Action< EventArgs< ILevelInfo > > | UnloadingComplete |
Invoked when unloading has completed. More... | |
Listens to CryEngine's LevelSystem and forwards events from it. Classes may use events from this class to be informed about Level System state changes.
|
inline |
Disposes of this instance.
|
inline |
Called by the engine when a level was not found.
levelName |
|
inline |
Called by the engine when loading a level has completed.
pLevel |
|
inline |
Called by the engine when there is an error during loading.
pLevel | |
error |
|
inline |
Called by the engine when loading the entities in a level has started.
pLevel |
|
inline |
Called by the engine when there is loading progress.
pLevel | |
progressAmount |
|
inline |
Called by the engine when loading a level has started.
pLevel |
|
inline |
Called by the engine when unloading has completed.
pLevel |
|
static |
Invked if a level is not found.
|
static |
Invoked when loading has completed.
|
static |
Invoked when there is an error during loading.
|
static |
Invoked when loading entities in a level has started.
|
static |
Invoked when there is loading progress.
|
static |
Invoked when loading a level has started.
|
static |
Invoked when unloading has completed.