Files
RobustToolbox/Robust.Server/GameObjects/IServerEntityManagerInternal.cs
T
2021-12-05 18:13:33 +01:00

19 lines
614 B
C#

using Robust.Shared.GameObjects;
namespace Robust.Server.GameObjects
{
internal interface IServerEntityManagerInternal : IServerEntityManager
{
// These methods are used by the map loader to do multi-stage entity construction during map load.
// I would recommend you refer to the MapLoader for usage.
EntityUid AllocEntity(string? prototypeName, EntityUid uid = default);
void FinishEntityLoad(EntityUid entity, IEntityLoadContext? context = null);
void FinishEntityInitialization(EntityUid entity);
void FinishEntityStartup(EntityUid entity);
}
}