Skip to main content

SpawnCommandModule.Moulds

A static class in Root.Township, Alta.Console.Commands.

Console submodule spawn moulds: spawns casting moulds for a given mould definition. Marked as under construction in the code.

Methods​

4 private and internal methods
MemberWhat it is
private static void DropPackage(PlayerList players, MouldDefinition definition)Server: spawn moulds spawns a mould with the definition (or the one matching a prefab's item) in front of each player.
private static void DropPackage(PlayerList players, NetworkPrefab prefab)Server: spawn moulds spawns a mould with the definition (or the one matching a prefab's item) in front of each player.
private static IEnumerable<SpawnCommandModule.MouldDefinitionInfo> List()spawn moulds list: lists all mould definitions.
private static void SpawnFull(MouldDefinition definition, Vector3 position)Spawns one mould prefab at a position with the given definition.