Freeciv-3.2
Loading...
Searching...
No Matches
Data Structures | Namespaces | Functions | Variables
generate_packets.py File Reference

Go to the source code of this file.

Data Structures

class  generate_packets.ScriptConfig
 
class  generate_packets.Location
 
class  generate_packets.FieldFlags
 
class  generate_packets.SizeInfo
 
class  generate_packets.RawFieldType
 
class  generate_packets.TypeRegistry
 
class  generate_packets.NeedSizeType
 
class  generate_packets.FieldType
 
class  generate_packets.BasicType
 
class  generate_packets.IntType
 
class  generate_packets.BoolType
 
class  generate_packets.FloatType
 
class  generate_packets.BitvectorType
 
class  generate_packets.StructType
 
class  generate_packets.CmParameterType
 
class  generate_packets.WorklistType
 
class  generate_packets.SizedType
 
class  generate_packets.StringType
 
class  generate_packets.MemoryType
 
class  generate_packets.ArrayType
 
class  generate_packets.Field
 
class  generate_packets.Variant
 
class  generate_packets.Directions
 
class  generate_packets.Packet
 
class  generate_packets.PacketsDefinition
 

Namespaces

namespace  generate_packets
 

Functions

Path generate_packets.file_path ("str | Path" s)
 Parsing Command Line Arguments ######################.
 
bool generate_packets.files_equal ("str | Path" path_a, "str | Path" path_b)
 
"typing.Iterator[tuple[T_co, ...]]" generate_packets.powerset (typing.Iterable[T_co] iterable)
 
str generate_packets.prefix (str prefix, str text)
 
 generate_packets.write_common_header ("str | Path | None" path, PacketsDefinition packets)
 
 generate_packets.write_common_impl ("str | Path | None" path, PacketsDefinition packets)
 
 generate_packets.write_server_header ("str | Path | None" path, PacketsDefinition packets)
 
 generate_packets.write_client_header ("str | Path | None" path, PacketsDefinition packets)
 
 generate_packets.write_server_impl ("str | Path | None" path, PacketsDefinition packets)
 
 generate_packets.write_client_impl ("str | Path | None" path, PacketsDefinition packets)
 
 generate_packets.main ("typing.Sequence[str] | None" raw_args=None)
 

Variables

 generate_packets.cache = lru_cache(None)
 
 generate_packets.T_co = typing.TypeVar("T_co", covariant = True)
 
 generate_packets.INSERT_PREFIX_PATTERN = re.compile(r"^(?!#|$)", re.MULTILINE)
 
 generate_packets.FieldTypeConstructor = typing.Callable[[str, str], RawFieldType]
 
 generate_packets.DEFAULT_REGISTRY = TypeRegistry(BasicType)