Photon Plugins API Documentation v5.0RC1

Static Public Attributes | List of all members
Photon.Hive.Plugin.ReciverGroup Class Reference

Related to RaiseEvent operation. Lets you choose which actors in the room should receive events. More...

Static Public Attributes

const byte All = 0
 Broadcast: Everyone in the current room (including this peer) will get the event. More...
 
const byte Others = 1
 Opponents (other actors) in the current room gets the event. (Anyone except me) More...
 
const byte Group = 2
 Only actors subscribed to the specified interest group target will get the event. More...
 

Detailed Description

Related to RaiseEvent operation. Lets you choose which actors in the room should receive events.

Member Data Documentation

◆ All

const byte Photon.Hive.Plugin.ReciverGroup.All = 0
static

Broadcast: Everyone in the current room (including this peer) will get the event.

◆ Group

const byte Photon.Hive.Plugin.ReciverGroup.Group = 2
static

Only actors subscribed to the specified interest group target will get the event.

◆ Others

const byte Photon.Hive.Plugin.ReciverGroup.Others = 1
static

Opponents (other actors) in the current room gets the event. (Anyone except me)