Table of Contents

Delegate PlayerAvatarAction

Namespace
Shard.Gameplay.Universe.Players
Assembly
Shard.Gameplay.Universe.dll

Receives one validated Player avatar during a synchronous World callback.

public delegate void PlayerAvatarAction(Player player, World world, World store, Entity avatar)

Parameters

player Player
Receives one validated Player avatar during a synchronous World callback.
world World
Receives one validated Player avatar during a synchronous World callback.
store World
Receives one validated Player avatar during a synchronous World callback.
avatar Entity
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.