struct Murcure::Protos::ServerSync
- Murcure::Protos::ServerSync
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
murcure/utils/protos.crConstant Summary
-
FIELDS =
{1 => {name: :session, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :max_bandwidth, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :welcome_text, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :permissions, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(session : UInt32 | Nil = nil, max_bandwidth : UInt32 | Nil = nil, welcome_text : String | Nil = nil, permissions : UInt64 | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #max_bandwidth : UInt32 | Nil
- #max_bandwidth=(max_bandwidth : UInt32 | Nil)
- #permissions : UInt64 | Nil
- #permissions=(permissions : UInt64 | Nil)
- #session : UInt32 | Nil
- #session=(session : UInt32 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #welcome_text : String | Nil
- #welcome_text=(welcome_text : String | Nil)
Constructor Detail
def self.new(session : UInt32 | Nil = nil, max_bandwidth : UInt32 | Nil = nil, welcome_text : String | Nil = nil, permissions : UInt64 | Nil = nil)
#