1
0

APIDump: Added docs for a few projectiles.

This commit is contained in:
Mattes D 2014-10-22 16:04:31 +02:00
parent 7cda6f9346
commit bfd1a9601a

View File

@ -37,22 +37,38 @@ return
cExpBottleEntity = cExpBottleEntity =
{ {
Desc = "", Desc = [[
Functions = {}, Represents a thrown ExpBottle. A subclass of the {{cProjectileEntity}}.
]],
Functions =
{
},
Inherits = "cProjectileEntity", Inherits = "cProjectileEntity",
}, -- cExpBottleEntity }, -- cExpBottleEntity
cFireChargeEntity = cFireChargeEntity =
{ {
Desc = "", Desc = [[
Represents a fire charge that has been shot by a Blaze or a {{cDispenserEntity|Dispenser}}. A subclass
of the {{cProjectileEntity}}.
]],
Functions = {}, Functions = {},
Inherits = "cProjectileEntity", Inherits = "cProjectileEntity",
}, -- cFireChargeEntity }, -- cFireChargeEntity
cFireworkEntity = cFireworkEntity =
{ {
Desc = "", Desc = [[
Functions = {}, Represents a firework rocket.
]],
Functions =
{
GetItem = { Params = "", Return = "{{cItem}}", Notes = "Returns the item that has been used to create the firework rocket. The item's m_FireworkItem member contains all the firework-related data." },
GetTicksToExplosion = { Params = "", Return = "number", Notes = "Returns the number of ticks left until the firework explodes." },
SetItem = { Params = "{{cItem}}", Return = "", Notes = "Sets a new item to be used for the firework." },
SetTicksToExplosion = { Params = "NumTicks", Return = "", Notes = "Sets the number of ticks left until the firework explodes." },
},
Inherits = "cProjectileEntity", Inherits = "cProjectileEntity",
}, -- cFireworkEntity }, -- cFireworkEntity