Appearance
CreatureType ​
GameserverMessageCreatureType · inbound · 40 bytes
Subscribe with Engine.on("CreatureType", fn). Print the live usage block with Engine.help("CreatureType").
A specialized decoder also runs for this type and may add richer nested fields.
lua
local Engine = require("sdk.engine")
Engine.on("CreatureType", function(ev)
print(ev.creature_id, ev.type, ev.master_id)
end)| Name | Kind | Nested |
|---|---|---|
creature_id | u32 | — |
type | u32 | — |
master_id | u32 | — |