Skip to main content

IConnection

An interface in Root.Township, the global namespace.

A network connection with its player. Connection is the implementation.

Properties​

MemberWhat it is
IPlayer Player { get; set; }The player on this connection. Setting it also updates PlayerName in Connection.
string PlayerName { get; }The player's username, or "Unknown Player" before one is set.

Used in​

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