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