Top Level Namespace
Defined in:
Macro Summary
- create_event_emitter(definitions)
-
define_array_functions(type, read_func, write_func, *extra_params)
Defines read/write functions for an array type.
- define_packet(name, id, definitions = [] of Nil)
- generate_handler(definitions, emitter)
-
generate_packet_handler(list)
Define case structure for handling packets by ID
Macro Detail
macro define_array_functions(type, read_func, write_func, *extra_params)
#
Defines read/write functions for an array type. Splat argument is used in write function for packet definitions, where the length is sometimes specified (but unused) in the write function.