Photon Unity Networking 2 2.30

Static Public Attributes | List of all members
ChatEventCode Class Reference

Wraps up internally used constants in Photon Chat events. You don't have to use them directly usually. More...

Static Public Attributes

const byte ChatMessages = 0
 (0) Event code for messages published in public channels. More...
 
const byte Users = 1
 (1) Not Used. More...
 
const byte PrivateMessage = 2
 (2) Event code for messages published in private channels More...
 
const byte FriendsList = 3
 (3) Not Used. More...
 
const byte StatusUpdate = 4
 (4) Event code for status updates. More...
 
const byte Subscribe = 5
 (5) Event code for subscription acks. More...
 
const byte Unsubscribe = 6
 (6) Event code for unsubscribe acks. More...
 
const byte PropertiesChanged = 7
 (7) Event code for properties update. More...
 
const byte UserSubscribed = 8
 (8) Event code for new user subscription to a channel where ChatChannel.PublishSubscribers is enabled. More...
 
const byte UserUnsubscribed = 9
 (9) Event code for when user unsubscribes from a channel where ChatChannel.PublishSubscribers is enabled. More...
 
const byte ErrorInfo = 10
 (10) Event code for when the server sends an error to the client. More...
 

Detailed Description

Wraps up internally used constants in Photon Chat events. You don't have to use them directly usually.

Member Data Documentation

◆ ChatMessages

const byte ChatMessages = 0
static

(0) Event code for messages published in public channels.

◆ ErrorInfo

const byte ErrorInfo = 10
static

(10) Event code for when the server sends an error to the client.

This is currently only used by Chat WebHooks.

◆ FriendsList

const byte FriendsList = 3
static

(3) Not Used.

◆ PrivateMessage

const byte PrivateMessage = 2
static

(2) Event code for messages published in private channels

◆ PropertiesChanged

const byte PropertiesChanged = 7
static

(7) Event code for properties update.

◆ StatusUpdate

const byte StatusUpdate = 4
static

(4) Event code for status updates.

◆ Subscribe

const byte Subscribe = 5
static

(5) Event code for subscription acks.

◆ Unsubscribe

const byte Unsubscribe = 6
static

(6) Event code for unsubscribe acks.

◆ Users

const byte Users = 1
static

(1) Not Used.

◆ UserSubscribed

const byte UserSubscribed = 8
static

(8) Event code for new user subscription to a channel where ChatChannel.PublishSubscribers is enabled.

◆ UserUnsubscribed

const byte UserUnsubscribed = 9
static

(9) Event code for when user unsubscribes from a channel where ChatChannel.PublishSubscribers is enabled.