struct Murcure::Protos::UserRemove
- Murcure::Protos::UserRemove
- 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: false, repeated: false, default: nil, packed: false}, 2 => {name: :actor, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :reason, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :ban, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(session : UInt32, actor : UInt32 | Nil = nil, reason : String | Nil = nil, ban : Bool | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #actor : UInt32 | Nil
- #actor=(actor : UInt32 | Nil)
- #ban : Bool | Nil
- #ban=(ban : Bool | Nil)
- #reason : String | Nil
- #reason=(reason : String | Nil)
- #session : UInt32
- #session=(session : UInt32)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(session : UInt32, actor : UInt32 | Nil = nil, reason : String | Nil = nil, ban : Bool | Nil = nil)
#