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 | 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 Photon.Chat.ChatEventCode.ChatMessages = 0 |
(0) Event code for messages published in public channels.
◆ ErrorInfo
const byte Photon.Chat.ChatEventCode.ErrorInfo = 10 |
(10) Event code for when the server sends an error to the client.
This is currently only used by Chat WebHooks.
◆ FriendsList
const byte Photon.Chat.ChatEventCode.FriendsList = 3 |
(3) Not Used.
◆ PrivateMessage
const byte Photon.Chat.ChatEventCode.PrivateMessage = 2 |
(2) Event code for messages published in private channels
◆ PropertiesChanged
const byte Photon.Chat.ChatEventCode.PropertiesChanged = 7 |
(7) Event code for properties update.
◆ StatusUpdate
const byte Photon.Chat.ChatEventCode.StatusUpdate = 4 |
(4) Event code for status updates.
◆ Subscribe
const byte Photon.Chat.ChatEventCode.Subscribe = 5 |
(5) Event code for subscription acks.
◆ Unsubscribe
const byte Photon.Chat.ChatEventCode.Unsubscribe = 6 |
(6) Event code for unsubscribe acks.
◆ Users
const byte Photon.Chat.ChatEventCode.Users = 1 |
(1) Not Used.
◆ UserSubscribed
const byte Photon.Chat.ChatEventCode.UserSubscribed = 8 |
(8) Event code for new user subscription to a channel where ChatChannel.PublishSubscribers is enabled.
◆ UserUnsubscribed
const byte Photon.Chat.ChatEventCode.UserUnsubscribed = 9 |
(9) Event code for when user unsubscribes from a channel where ChatChannel.PublishSubscribers is enabled.
The documentation for this class was generated from the following file:
- 3rd-Party/Photon/PhotonChat/Code/ChatEventCode.cs