Appearance
BuyObject ​
GameclientMessageBuyObject · outbound · 40 bytes
Send scalars/strings with Packet.send. Print the live usage block with Packet.help("BuyObject").
lua
local Packet = require("sdk.packet")
-- Nested identifier need a helper. Scalars/strings only below.
Packet.send("BuyObject", {
count = 0,
ignore_capacity = 0,
with_backpack = 0,
})| Name | Kind | Nested |
|---|---|---|
identifier | msg | ObjectIdentifier |
count | u32 | — |
ignore_capacity | u8 | — |
with_backpack | u8 | — |