Skip to main content

DockObjectTaskArgument

A class in Root.Township, the global namespace.

Game task argument raised when a pickup is docked, for tasks on the DockObject channel.

Constructors​

MemberWhat it is
DockObjectTaskArgument(int count, Pickup pickup, PickupDockSettings dockSettings, NetworkPrefab dockPrefab, bool isSelf)Creates a DockObjectTaskArgument from count, pickup, dockSettings, dockPrefab and isSelf.

Properties​

MemberWhat it is
override GameActionChannel Channel { get; }GameActionChannel.DockObject.
NetworkPrefab DockPrefab { get; }Prefab that owns the dock.
PickupDockSettings DockSettings { get; }Settings of the dock used.
bool IsSelf { get; }True when the dock belongs to the player who docked the item (their own body docks).
Pickup Pickup { get; }The pickup that was docked.

Used in​

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