Skip to main content

PostBoxSenderManager.PerPlayerSendingCount

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

For one sender, how many more gifts they can post to each other player.

Constructors​

MemberWhat it is
PerPlayerSendingCount()Creates a PostBoxSenderManager.PerPlayerSendingCount with default values.

Properties​

MemberWhat it is
Dictionary<int, int> CountPerPlayer { get; }Gifts left for each recipient, keyed by user id.

Methods​

MemberWhat it is
void Serialize(Stream stream)Syncs the whole recipient list.
void SerializeSingle(Stream stream, int toIdentifier)Syncs the count for one recipient.

Used in​

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