TextChatDeliveryRule
TextChatDeliveryRule = (
world,sender,recipient) =>boolean
A game’s rule for who receives a message: true to deliver it from
sender to recipient. Each is an entity: a player’s player entity,
or the entity an NPC message comes from. The room calls it on the
world as the last step left it, read-only, once for each other player;
it writes nothing.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
sender |
Entity |
recipient |
Entity |
Returns
Section titled “Returns”boolean