Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Packets
Class methods
account_restricted
Source
bancho_privileges
(privs :
Int32
) :
Bytes
Source
bot_presence
(player :
Player
) :
Bytes
Source
bot_stats
(player :
Player
) :
Bytes
Source
channel_info
(name :
String
, topic :
String
, player_count :
Int32
) :
Bytes
Source
channel_info_end
Source
channel_join
(name :
String
) :
Bytes
Source
channel_kick
(name :
String
) :
Bytes
Source
encode_uleb128
(io :
IO
, val :
UInt32
)
Source
f_spectator_joined
(user_id :
Int32
) :
Bytes
Source
f_spectator_left
(user_id :
Int32
) :
Bytes
Source
friends_list
(friends :
Enumerable
(
Int32
)) :
Bytes
Source
login_reply
(user_id :
Int32
) :
Bytes
Source
logout
(user_id :
Int32
) :
Bytes
Source
notification
(msg :
String
) :
Bytes
Source
pong
Source
protocol_version
(version :
Int32
) :
Bytes
Source
restart_server
(ms :
Int32
) :
Bytes
Source
send_message
(sender :
String
, msg :
String
, recipient :
String
, sender_id :
Int32
) :
Bytes
Source
spectator_cant_spectate
(user_id :
Int32
) :
Bytes
Source
spectator_frames
(frame :
Bytes
) :
Bytes
Source
spectator_joined
(user_id :
Int32
) :
Bytes
Source
spectator_left
(user_id :
Int32
) :
Bytes
Source
user_presence
(player :
Player
) :
Bytes
Source
user_stats
(player :
Player
) :
Bytes
Source
write
(packet_id :
ServerPacket
, *args :
Tuple
) :
Bytes
Source
write_channel
(io :
IO
, channel :
Tuple
(
String
,
String
,
Int32
))
Source
write_i32_list
(io :
IO
, list :
Array
(
Int32
))
Source
write_message
(io :
IO
, msg :
Tuple
(
String
,
String
,
String
,
Int32
))
Source
write_string
(io :
IO
, str :
String
)
Source
Nested types
Packets::OsuType
Packets::ServerPacket
Packets::TypeArg