2022-11-16 11:59:23 +00:00
|
|
|
export enum Packets {
|
|
|
|
Client_ChangeAction,
|
|
|
|
Client_SendPublicMessage,
|
|
|
|
Client_Logout,
|
|
|
|
Client_RequestStatusUpdate,
|
|
|
|
Client_Pong,
|
|
|
|
Server_LoginReply,
|
|
|
|
Server_CommandError,
|
|
|
|
Server_SendMessage,
|
|
|
|
Server_Ping,
|
|
|
|
Server_IRCUsernameChange,
|
|
|
|
Server_IRCQuit,
|
|
|
|
Server_UserStats,
|
|
|
|
Server_UserLogout,
|
|
|
|
Server_SpectatorJoined,
|
|
|
|
Server_SpectatorLeft,
|
|
|
|
Server_SpectateFrames,
|
|
|
|
Client_StartSpectating,
|
|
|
|
Client_StopSpectating,
|
|
|
|
Client_SpectateFrames,
|
|
|
|
Server_VersionUpdate,
|
|
|
|
Client_ErrorReport,
|
|
|
|
Client_CantSpectate,
|
|
|
|
Server_SpectatorCantSpectate,
|
|
|
|
Server_GetAttention,
|
|
|
|
Server_Notification,
|
|
|
|
Client_SendPrivateMessage,
|
|
|
|
Server_UpdateMatch,
|
|
|
|
Server_NewMatch,
|
|
|
|
Server_DisposeMatch,
|
|
|
|
Client_PartLobby,
|
|
|
|
Client_JoinLobby,
|
|
|
|
Client_CreateMatch,
|
|
|
|
Client_JoinMatch,
|
|
|
|
Client_PartMatch,
|
|
|
|
Server_LobbyJoin_OLD,
|
|
|
|
Server_LobbyPart_OLD,
|
|
|
|
Server_MatchJoinSuccess,
|
|
|
|
Server_MatchJoinFail,
|
|
|
|
Client_MatchChangeSlot,
|
|
|
|
Client_MatchReady,
|
|
|
|
Client_MatchLock,
|
|
|
|
Client_MatchChangeSettings,
|
|
|
|
Server_FellowSpectatorJoined,
|
|
|
|
Server_FellowSpectatorLeft,
|
|
|
|
Client_MatchStart,
|
|
|
|
AllPlayersLoaded,
|
|
|
|
Server_MatchStart,
|
|
|
|
Client_MatchScoreUpdate,
|
|
|
|
Server_MatchScoreUpdate,
|
|
|
|
Client_MatchComplete,
|
|
|
|
Server_MatchTransferHost,
|
|
|
|
Client_MatchChangeMods,
|
|
|
|
Client_MatchLoadComplete,
|
|
|
|
Server_MatchAllPlayersLoaded,
|
|
|
|
Client_MatchNoBeatmap,
|
|
|
|
Client_MatchNotReady,
|
|
|
|
Client_MatchFailed,
|
2022-11-16 15:25:46 +00:00
|
|
|
Server_MatchComplete = 58,
|
2022-11-16 11:59:23 +00:00
|
|
|
Client_MatchHasBeatmap,
|
|
|
|
Client_MatchSkipRequest,
|
|
|
|
Server_MatchSkip,
|
|
|
|
Server_Unauthorised,
|
|
|
|
Client_ChannelJoin,
|
|
|
|
Server_ChannelJoinSuccess,
|
|
|
|
Server_ChannelInfo,
|
|
|
|
Server_ChannelKicked,
|
|
|
|
Server_ChannelAvailableAutojoin,
|
|
|
|
Client_BeatmapInfoRequest,
|
|
|
|
Server_BeatmapInfoReply,
|
|
|
|
Client_MatchTransferHost,
|
|
|
|
Server_SupporterGMT,
|
|
|
|
Server_FriendsList,
|
|
|
|
Client_FriendAdd,
|
|
|
|
Client_FriendRemove,
|
|
|
|
Server_ProtocolNegotiation,
|
|
|
|
Server_MainMenuIcon,
|
|
|
|
Client_MatchChangeTeam,
|
|
|
|
Client_ChannelPart,
|
|
|
|
Client_ReceiveUpdates,
|
|
|
|
Server_Monitor,
|
|
|
|
Server_MatchPlayerSkipped,
|
|
|
|
Client_SetAwayMessage,
|
|
|
|
Server_UserPanel,
|
|
|
|
IRC_only,
|
|
|
|
Client_UserStatsRequest,
|
|
|
|
Server_Restart,
|
|
|
|
Client_Invite,
|
|
|
|
Server_Invite,
|
|
|
|
Server_ChannelInfoEnd,
|
|
|
|
Client_MatchChangePassword,
|
|
|
|
Server_MatchChangePassword,
|
|
|
|
Server_SilenceEnd,
|
|
|
|
Client_SpecialMatchInfoRequest,
|
|
|
|
Server_UserSilenced,
|
|
|
|
Server_UserPresenceSingle,
|
|
|
|
Server_UserPresenceBundle,
|
|
|
|
Client_UserPresenceRequest,
|
|
|
|
Client_UserPresenceRequestAll,
|
|
|
|
Client_UserToggleBlockNonFriendPM,
|
|
|
|
Server_UserPMBlocked,
|
|
|
|
Server_TargetIsSilenced,
|
|
|
|
Server_VersionUpdateForced,
|
|
|
|
Server_SwitchServer,
|
|
|
|
Server_AccountRestricted,
|
|
|
|
Server_RTX,
|
|
|
|
Client_MatchAbort,
|
|
|
|
Server_SwitchTourneyServer,
|
|
|
|
// NOTE: Tournament client only
|
|
|
|
Client_SpecialJoinMatchChannel,
|
|
|
|
// NOTE: Tournament client only
|
2022-11-16 15:25:46 +00:00
|
|
|
Client_SpecialLeaveMatchChannel,
|
2022-11-16 11:59:23 +00:00
|
|
|
}
|