Skip to main content

ItemCraftedEvent

A class in Root.Township, ATT.EventBus.TownshipEvents.

Township event bus event broadcast when a player joins two crafting parts. Server (and local test).

Constructors​

MemberWhat it is
ItemCraftedEvent(IPlayer player, List<uint> itemPartHashes)Creates an ItemCraftedEvent from player and itemPartHashes.

Properties​

MemberWhat it is
List<uint> ItemPartHashes { get; }Prefab hashes of the two parts joined: the primary part first, then the secondary.
IPlayer Source { get; }The player who crafted.