Freeciv-3.2
|
Public Member Functions | |
__init__ (self, str dataio_type, str public_type, SizeInfo size) | |
str | get_code_fill (self, Location location) |
str | get_code_cmp (self, Location location) |
str | get_code_get (self, Location location, bool deep_diff=False) |
![]() | |
str | get_code_declaration (self, Location location) |
str | get_code_handle_param (self, Location location) |
str | __str__ (self) |
![]() | |
str | get_code_hash (self, Location location) |
str | get_code_put (self, Location location, bool deep_diff=False) |
![]() | |
"FieldType" | array (self, SizeInfo size) |
str | get_code_handle_arg (self, Location location) |
![]() | |
str | __repr__ (self) |
Static Public Attributes | |
NeedSizeType | |
cls | |
![]() | |
bool | foldable = False |
Additional Inherited Members | |
![]() | |
size | |
![]() | |
dataio_type | |
public_type | |
Type information for a string field
Definition at line 1034 of file generate_packets.py.
Reimplemented from generate_packets.SizedType.
Definition at line 1037 of file generate_packets.py.
Generate a code snippet comparing a field of this type between the `old` and `real_packet` and setting `differ` accordingly.
Reimplemented from generate_packets.BasicType.
Definition at line 1051 of file generate_packets.py.
Generate a code snippet moving a value of this type from dsend arguments into a packet struct.
Reimplemented from generate_packets.SizedType.
Definition at line 1046 of file generate_packets.py.
Generate a code snippet reading a field of this type from the dataio stream.
Reimplemented from generate_packets.BasicType.
Definition at line 1056 of file generate_packets.py.
|
static |
Definition at line 1063 of file generate_packets.py.
|
static |
Definition at line 1063 of file generate_packets.py.