class Murcure::Ping::Response
- Murcure::Ping::Response
- BinData
- Reference
- Object
Overview
Width Data type Value Comment 4 bytes int Version e.g., \x0\x1\x2\x3 for 1.2.3. Can be interpreted as one single int or four signed chars. 8 bytes long long ident the ident value sent with the request 4 bytes int Currently connected users count 4 bytes int Maximum users (slot count) 4 bytes int Allowed bandwidth
Defined in:
murcure/utils/ping.crConstant Summary
-
BIT_PARTS =
[] of Nil
-
Width Data type Value Comment 4 bytes int Version e.g., \x0\x1\x2\x3 for 1.2.3. Can be interpreted as one single int or four signed chars. 8 bytes long long ident the ident value sent with the request 4 bytes int Currently connected users count 4 bytes int Maximum users (slot count) 4 bytes int Allowed bandwidth
-
INDEX =
[-1]
-
Width Data type Value Comment 4 bytes int Version e.g., \x0\x1\x2\x3 for 1.2.3. Can be interpreted as one single int or four signed chars. 8 bytes long long ident the ident value sent with the request 4 bytes int Currently connected users count 4 bytes int Maximum users (slot count) 4 bytes int Allowed bandwidth
-
PARTS =
[{"basic", ver_, UInt8, nil, nil, -> do 0 end}, {"basic", ver_maj, UInt8, nil, nil, -> do Murcure::MUMBLE_VER_ARR[1] end}, {"basic", ver_man, UInt8, nil, nil, -> do Murcure::MUMBLE_VER_ARR[2] end}, {"basic", ver_patch, UInt8, nil, nil, -> do Murcure::MUMBLE_VER_ARR[3] end}, {"basic", ident, UInt64, nil, nil, nil}, {"basic", user_count, UInt32, nil, nil, nil}, {"basic", max_users, UInt32, nil, nil, nil}, {"basic", bandwidth, UInt32, nil, nil, nil}] of Nil
-
Width Data type Value Comment 4 bytes int Version e.g., \x0\x1\x2\x3 for 1.2.3. Can be interpreted as one single int or four signed chars. 8 bytes long long ident the ident value sent with the request 4 bytes int Currently connected users count 4 bytes int Maximum users (slot count) 4 bytes int Allowed bandwidth
Instance Method Summary
- #__format__ : IO::ByteFormat
- #bandwidth : UInt32
- #bandwidth=(bandwidth : UInt32)
- #ident : UInt64
- #ident=(ident : UInt64)
- #max_users : UInt32
- #max_users=(max_users : UInt32)
- #user_count : UInt32
- #user_count=(user_count : UInt32)
- #ver_ : UInt8
- #ver_=(ver_ : UInt8)
- #ver_maj : UInt8
- #ver_maj=(ver_maj : UInt8)
- #ver_man : UInt8
- #ver_man=(ver_man : UInt8)
- #ver_patch : UInt8
- #ver_patch=(ver_patch : UInt8)