Skip to main content

DestroyActionArgument

A class in Root.Township, the global namespace.

Game task action argument sent when a player destroys a health object with a tool. Server.

Constructors​

MemberWhat it is
DestroyActionArgument(NetworkPrefab destroyed)Creates a DestroyActionArgument from destroyed.

Properties​

MemberWhat it is
override GameActionChannel Channel { get; }Always GameActionChannel.DestroyObject.
NetworkPrefab Destroyed { get; }Prefab of the object that was destroyed.

Used in​

Members of other types that take, return or hold a DestroyActionArgument: