struct Murcure::Protos::VoiceTarget

Included Modules

Defined in:

murcure/utils/protos.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :targets, pb_type: VoiceTarget::Target, crystal_type: VoiceTarget::Target, cast_type: Array(VoiceTarget::Target)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(id : UInt32 | Nil = nil, targets : Array(VoiceTarget::Target) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def id : UInt32 | Nil #

def id=(id : UInt32 | Nil) #

def targets : Array(VoiceTarget::Target) | Nil #

def targets=(targets : Array(VoiceTarget::Target) | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #