Photon Unity Networking 2: ChatEventCode Class Reference

Photon Unity Networking 2

ChatEventCode Class Reference

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

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 UserSubscribed = 8
 (7) Event code for new user subscription to a channel where ChatChannel.PublishSubscribers is enabled. More...
 
const byte UserUnsubscribed = 9
 (8) Event code for when user unsubscribes from a channel where ChatChannel.PublishSubscribers is enabled. More...
 

Detailed Description

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

Member Data Documentation

const byte ChatMessages = 0

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

const byte FriendsList = 3

(3) Not Used.

const byte PrivateMessage = 2

(2) Event code for messages published in private channels

const byte StatusUpdate = 4

(4) Event code for status updates.

const byte Subscribe = 5

(5) Event code for subscription acks.

const byte Unsubscribe = 6

(6) Event code for unsubscribe acks.

const byte Users = 1

(1) Not Used.

const byte UserSubscribed = 8

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

const byte UserUnsubscribed = 9

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

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH