Freeciv-3.3
|
Static Public Attributes | |
TYPE_PATTERN = re.compile(r"^[su]int\d+$") | |
![]() | |
str | dataio_type |
str | public_type |
str | DEFAULT_REGISTRY = TypeRegistry(BasicType) |
![]() | |
bool | foldable = False |
bool | complex = False |
![]() | |
str | FieldTypeConstructor = typing.Callable[[str, str], RawFieldType] |
Additional Inherited Members | |
![]() | |
dataio_type | |
public_type | |
![]() | |
_compat_keys (self, Location location, str packet) | |
Type information for an integer field
Definition at line 960 of file generate_packets.py.
Reimplemented from generate_packets.BasicType.
Reimplemented in generate_packets.BoolType, generate_packets.BoolType, and generate_packets.BoolType.
Definition at line 967 of file generate_packets.py.
Reimplemented from generate_packets.BasicType.
Reimplemented in generate_packets.BoolType, generate_packets.BoolType, and generate_packets.BoolType.
Definition at line 969 of file generate_packets.py.
Reimplemented from generate_packets.BasicType.
Reimplemented in generate_packets.BoolType, generate_packets.BoolType, and generate_packets.BoolType.
Definition at line 970 of file generate_packets.py.
str generate_packets.IntType.get_code_get | ( | self, | |
Location | location, | ||
str | packet, | ||
bool | deep_diff = False |
||
) |
Generate a code snippet reading a field of this type from the dataio stream.
Reimplemented from generate_packets.BasicType.
Definition at line 985 of file generate_packets.py.
Generate a code snippet factoring a field of this type into a hash computation's `result`.
Reimplemented from generate_packets.BasicType.
Definition at line 980 of file generate_packets.py.
Definition at line 963 of file generate_packets.py.