Skip to main content

PlayerMoveChunkData

A class in Root.Township, the global namespace.

Payload for the ConsoleEvents.PlayerMovedChunk console event, sent when a player crosses into another chunk. Server.

Constructors​

MemberWhat it is
PlayerMoveChunkData(Player player, Chunk oldChunk, Chunk newChunk)Creates a PlayerMoveChunkData from player, oldChunk and newChunk.

Fields​

MemberWhat it is
string newChunkIdentifier of the chunk the player moved into, or the text null.
string oldChunkIdentifier of the chunk the player left, or the text null.
UserInfo playerThe player's user info.

Used in​

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