Photon Plugins API Documentation
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...

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

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

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

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

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

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

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