예제 #1
0
    internal static void InitDedicated()
    {
        GameState = GameState.DedicatedServer;
        WorldInit();

        Log.LogDebug("Running dedicated server init actions");
        OnDedicatedServerInit.RaiseSafely("Error during dedicated server init event");

        OnLateInit.RaiseSafely("Error during dedicated server late init event");
    }
예제 #2
0
    internal static void InitMultiplayer()
    {
        GameState = GameState.Multiplayer;
        WorldInit();

        Log.LogDebug("Running multiplayer init actions");
        OnMultiplayerInit.RaiseSafely("Error during multiplayer init event");

        OnLateInit.RaiseSafely("Error during multiplayer late init event");
    }