Skip to main content

PickupOwnershipLogger

A static class in Root.Township, the global namespace.

Trace logging for when a player grabs a pickup that another player last held. Called from Pickup.

Fields​

1 private and internal field
MemberWhat it is
private static Logger loggerNLog logger for this class.

Methods​

MemberWhat it is
static void ChangedOwnership(Pickup pickup, int oldOwner, int newOwner)Logs a pickup moving from its old owner to a new one. The message puts the old owner as the one who picked it up.
static void RemovedFromOwnership(Pickup removedPickup, Pickup basePickup, int oldOwner, int newOwner)Logs a pickup being taken off another pickup that belonged to someone else.