Class Core
- Namespace
- VAMP
- Assembly
- VAMP.dll
public static class Core
- Inheritance
-
Core
- Inherited Members
Fields
hasInitialized
public static bool hasInitialized
Field Value
Properties
CastleHeartService
public static CastleHeartService CastleHeartService { get; }
Property Value
CastleTerritoryService
public static CastleTerritoryService CastleTerritoryService { get; }
Property Value
ClanService
public static ClanService ClanService { get; }
Property Value
EntityManager
public static EntityManager EntityManager { get; }
Property Value
- EntityManager
ModSystem
public static ModSystem ModSystem { get; }
Property Value
PlayerService
public static PlayerService PlayerService { get; }
Property Value
Server
public static World Server { get; }
Property Value
- World
ServerGameManager
public static ServerGameManager ServerGameManager { get; }
Property Value
- ServerGameManager
ServerScriptMapper
public static ServerScriptMapper ServerScriptMapper { get; }
Property Value
- ServerScriptMapper
SystemService
public static SystemService SystemService { get; }
Property Value
TileModelSpatialLookupSystem
public static Entity TileModelSpatialLookupSystem { get; }
Property Value
- Entity
Methods
Initialize()
public static void Initialize()
StartCoroutine(IEnumerator)
Starts a coroutine using a MonoBehaviour instance.
public static Coroutine StartCoroutine(IEnumerator routine)
Parameters
routine
IEnumeratorThe IEnumerator routine to start as a coroutine.
Returns
- Coroutine
A Coroutine instance that can be used to stop the routine later.
Remarks
If no MonoBehaviour instance exists, creates a new GameObject with an IgnorePhysicsDebugSystem component. The GameObject is marked to not be destroyed when loading new scenes.
StopCoroutine(Coroutine)
Stops a running coroutine.
public static void StopCoroutine(Coroutine coroutine)
Parameters
coroutine
CoroutineThe Coroutine instance to stop.
Remarks
If no MonoBehaviour instance exists, the method returns without doing anything.