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