atl-macros
These are re-exported from atl, so they are written #[atl::class], #[atl::server(...)],
#[atl::client(...)] and #[derive(atl::Message)].
#[class]
Section titled "#[class]"Registers the impl's type as a script class under its own name (or name = "..."), so Lua can ask for it with scriptClass. methods(a, b) adds custom methods.
#[server]
Section titled "#[server]"Registers the impl's type as the server half of split class "Name" (see ServerShapeClass). Each half may be in its own file. on(...) adds typed-message handlers, methods(...) custom methods.
#[client]
Section titled "#[client]"Registers the impl's type as the client half of split class "Name" (see ClientShapeClass). Each half may be in its own file. on(...) adds typed-message handlers, methods(...) custom methods.
#[derive(Message)]
Section titled "#[derive(Message)]"Plain structs and field-less enums as typed messages: each field is encoded in declaration order, and the schema hashes the type's name and every field's type. Enums travel as their #[repr] integer (i32 by default).