Delegate PlayerAvatarAction
Receives one validated Player avatar during a synchronous World callback.
public delegate void PlayerAvatarAction(Player player, World world, World store, Entity avatar)
Parameters
playerPlayer- Receives one validated Player avatar during a synchronous World callback.
worldWorld- Receives one validated Player avatar during a synchronous World callback.
storeWorld- Receives one validated Player avatar during a synchronous World callback.
avatarEntity- Receives one validated Player avatar during a synchronous World callback.
Remarks
The Store and Entity are borrowed from the World thread. They must not be retained or used after the callback returns. Asynchronous work must copy durable values and open a fresh World borrow.