module Murcure::ProtoMapper
Extended Modules
Defined in:
murcure/utils/proto_mapper.cr
Constant Summary
-
MESSAGE_CLASSES =
{0 => Murcure::Protos::Version, 1 => Murcure::Protos::UDPTunnel, 2 => Murcure::Protos::Authenticate, 3 => Murcure::Protos::Ping, 4 => Murcure::Protos::Reject, 5 => Murcure::Protos::ServerSync, 7 => Murcure::Protos::ChannelState, 8 => Murcure::Protos::UserRemove, 9 => Murcure::Protos::UserState, 10 => Murcure::Protos::BanList, 11 => Murcure::Protos::TextMessage, 12 => Murcure::Protos::PermissionDenied, 13 => Murcure::Protos::ACL, 14 => Murcure::Protos::QueryUsers, 15 => Murcure::Protos::CryptSetup, 16 => Murcure::Protos::ContextActionModify, 17 => Murcure::Protos::ContextAction, 18 => Murcure::Protos::UserList, 19 => Murcure::Protos::VoiceTarget, 20 => Murcure::Protos::PermissionQuery, 21 => Murcure::Protos::CodecVersion, 22 => Murcure::Protos::UserStats, 23 => Murcure::Protos::RequestBlob, 24 => Murcure::Protos::ServerConfig, 25 => Murcure::Protos::SuggestConfig}
-
MESSAGE_NUMBERS =
{Murcure::Protos::Version => 0, Murcure::Protos::UDPTunnel => 1, Murcure::Protos::Authenticate => 2, Murcure::Protos::Ping => 3, Murcure::Protos::Reject => 4, Murcure::Protos::ServerSync => 5, Murcure::Protos::ChannelState => 7, Murcure::Protos::UserRemove => 8, Murcure::Protos::UserState => 9, Murcure::Protos::BanList => 10, Murcure::Protos::TextMessage => 11, Murcure::Protos::PermissionDenied => 12, Murcure::Protos::ACL => 13, Murcure::Protos::QueryUsers => 14, Murcure::Protos::CryptSetup => 15, Murcure::Protos::ContextActionModify => 16, Murcure::Protos::ContextAction => 17, Murcure::Protos::UserList => 18, Murcure::Protos::VoiceTarget => 19, Murcure::Protos::PermissionQuery => 20, Murcure::Protos::CodecVersion => 21, Murcure::Protos::UserStats => 22, Murcure::Protos::RequestBlob => 23, Murcure::Protos::ServerConfig => 24, Murcure::Protos::SuggestConfig => 25}
Instance Method Summary
Instance Method Detail
def
find_class(type_num)
#