Photon Unity Networking v1.101

Static Public Attributes | List of all members
Photon.Chat.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 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

◆ ChatMessages

const byte Photon.Chat.ChatEventCode.ChatMessages = 0
static

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

◆ FriendsList

const byte Photon.Chat.ChatEventCode.FriendsList = 3
static

(3) Not Used.

◆ PrivateMessage

const byte Photon.Chat.ChatEventCode.PrivateMessage = 2
static

(2) Event code for messages published in private channels

◆ StatusUpdate

const byte Photon.Chat.ChatEventCode.StatusUpdate = 4
static

(4) Event code for status updates.

◆ Subscribe

const byte Photon.Chat.ChatEventCode.Subscribe = 5
static

(5) Event code for subscription acks.

◆ Unsubscribe

const byte Photon.Chat.ChatEventCode.Unsubscribe = 6
static

(6) Event code for unsubscribe acks.

◆ Users

const byte Photon.Chat.ChatEventCode.Users = 1
static

(1) Not Used.

◆ UserSubscribed

const byte Photon.Chat.ChatEventCode.UserSubscribed = 8
static

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

◆ UserUnsubscribed

const byte Photon.Chat.ChatEventCode.UserUnsubscribed = 9
static

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