GameStats class final

struct GameStat @brief Game statistics

Inheritance
Implemented types
Available extensions

Constructors

GameStats()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
hashCode → int
The hash code for this object.
no setterinherited
n_draws ↔ int
< game draw count
getter/setter pair
n_lines ↔ int
< unterminated line count
getter/setter pair
n_losses ↔ int
< game loss count
getter/setter pair
n_wins ↔ int
< game win count
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

$allocate(Allocator $allocator, {required int n_wins, required int n_draws, required int n_losses, required int n_lines}) → Pointer<GameStats>