enum

ClientPackets

Inherits Enum < Comparable < Value < Object

Constants

ACTION = 0_u16
SEND_PUBLIC_MESSAGE = 1_u16
LOGOUT = 2_u16
PONG = 4_u16
START_SPECTATING = 16_u16
STOP_SPECTATING = 17_u16
SPECTATE_FRAMES = 18_u16
ERROR_REPORT = 20_u16
CANT_SPECTATE = 21_u16
SEND_PRIVATE_MESSAGE = 25_u16
CHANNEL_JOIN = 63_u16
FRIEND_ADD = 73_u16
FRIEND_REMOVE = 74_u16
USER_STATS = 85_u16
USER_PRESENCE_REQUEST = 97_u16
USER_PRESENCE_REQUEST_ALL = 98_u16

Instance methods

action?

Returns true if this enum value equals ACTION

Source
cant_spectate?

Returns true if this enum value equals CANT_SPECTATE

Source
channel_join?

Returns true if this enum value equals CHANNEL_JOIN

Source
error_report?

Returns true if this enum value equals ERROR_REPORT

Source
friend_add?

Returns true if this enum value equals FRIEND_ADD

Source
friend_remove?

Returns true if this enum value equals FRIEND_REMOVE

Source
logout?

Returns true if this enum value equals LOGOUT

Source
pong?

Returns true if this enum value equals PONG

Source
send_private_message?

Returns true if this enum value equals SEND_PRIVATE_MESSAGE

Source
send_public_message?

Returns true if this enum value equals SEND_PUBLIC_MESSAGE

Source
spectate_frames?

Returns true if this enum value equals SPECTATE_FRAMES

Source
start_spectating?

Returns true if this enum value equals START_SPECTATING

Source
stop_spectating?

Returns true if this enum value equals STOP_SPECTATING

Source
user_presence_request?

Returns true if this enum value equals USER_PRESENCE_REQUEST

Source
user_presence_request_all?

Returns true if this enum value equals USER_PRESENCE_REQUEST_ALL

Source
user_stats?

Returns true if this enum value equals USER_STATS

Source