Files
Nitrox/NitroxClient/GameLogic/Spawning/Abstract/ISyncEntitySpawner.cs
2025-07-06 00:23:46 +02:00

14 lines
400 B
C#

using System;
using NitroxModel.DataStructures.GameLogic;
using NitroxModel.DataStructures.Util;
using UnityEngine;
namespace NitroxClient.GameLogic.Spawning.Abstract;
public interface ISyncEntitySpawner
{
bool SpawnSync(Entity entity, TaskResult<Optional<GameObject>> result);
bool SpawnSyncSafe(Entity entity, TaskResult<Optional<GameObject>> result, TaskResult<Exception> exception);
}