struct MUX::Settings
- MUX::Settings
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-MUX/CATS_Helper.pb.crConstant Summary
-
FIELDS =
{1 => {name: :message_type, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :get_settings, pb_type: GetVars, crystal_type: GetVars, cast_type: GetVars?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :settings, pb_type: Vars, crystal_type: Vars, cast_type: Vars?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :set_settings, pb_type: Vars, crystal_type: Vars, cast_type: Vars?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(message_type : Int32, get_settings : GetVars | Nil = nil, settings : Vars | Nil = nil, set_settings : Vars | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #get_settings : GetVars | Nil
- #get_settings=(get_settings : GetVars | Nil)
- #message_type : Int32
- #message_type=(message_type : Int32)
- #set_settings : Vars | Nil
- #set_settings=(set_settings : Vars | Nil)
- #settings : Vars | Nil
- #settings=(settings : Vars | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(message_type : Int32, get_settings : GetVars | Nil = nil, settings : Vars | Nil = nil, set_settings : Vars | Nil = nil)
#