static NetworkEntity Spawn(NetworkPrefab prefab, SpawnData spawnData, NetworkEntity chunkingParent, SaveMode saveMode, SpawnHelper.SpawningCallback position = null, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static NetworkEntity Spawn(uint prefabHash, SpawnData spawnData, NetworkEntity chunkingParent, SaveMode saveMode, SpawnHelper.SpawningCallback position = null, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static NetworkEntity Spawn(uint prefabHash, SpawnData spawnData, Chunk chunk, SpawnHelper.SpawningCallback position = null, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static NetworkEntity Spawn(NetworkPrefab prefab, SpawnData spawnData, Chunk chunk, SpawnHelper.SpawningCallback position = null, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static NetworkEntity Spawn(NetworkPrefab prefab, SpawnData spawnData, NetworkEntity chunkingParent, SaveMode saveMode, Vector3 position, Quaternion rotation, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static NetworkEntity Spawn(uint prefabHash, SpawnData spawnData, Chunk chunk, Vector3 position, Quaternion rotation = null, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static NetworkEntity Spawn(NetworkPrefab prefab, SpawnData spawnData, Chunk chunk, Vector3 position, Quaternion rotation = null, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static NetworkEntity Spawn(NetworkPrefab prefab, SpawnData spawnData, NetworkEntity chunkingParent, SaveMode saveMode, Transform parent, Vector3 localPosition = null, Quaternion localRotation = null, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static NetworkEntity Spawn(uint prefabHash, SpawnData spawnData, NetworkEntity chunkingParent, SaveMode saveMode, Transform parent, Vector3 localPosition = null, Quaternion localRotation = null, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static NetworkEntity Spawn(NetworkPrefab prefab, SpawnData spawnData, Chunk chunk, Transform parent, Vector3 localPosition = null, Quaternion localRotation = null, SpawnHelper.SpawningCallback preChunking = null) | Server: spawns a prefab (by prefab or hash), places it, initializes it and puts it in a chunk or under a chunking parent. |
static bool SpawnDocked(uint prefabHash, int count, SpawnData spawnData, PickupDock dock, Chunk fallbackChunk = null, Action<Pickup> preDockModify = null) | Server: spawns an item and docks the count into a dock. On failure it drops it nearby or destroys it, and returns false. |
static bool SpawnDocked(Item item, int count, SpawnData spawnData, PickupDock dock, Chunk fallbackChunk = null, Action<Pickup> preDockModify = null) | Server: spawns an item and docks the count into a dock. On failure it drops it nearby or destroys it, and returns false. |
static NetworkEntity SpawnPouchOrPickup(Item item, int count, SpawnData spawnData, Chunk chunk, Vector3 position, Quaternion rotation = null) | Server: spawns a pouch holding the items when there are several stackable ones, otherwise a single item. |
static NetworkEntity SpawnUnchunked(NetworkPrefab prefab, SpawnData spawnData) | Server: spawns and initializes a prefab without giving it a chunk. You must set one, dock it, or destroy it. |
static NetworkEntity SpawnUnchunked(uint prefabHash, SpawnData spawnData) | Server: spawns and initializes a prefab without giving it a chunk. You must set one, dock it, or destroy it. |