mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Add inheritance comments
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
*
|
||||
* [Aura]s on your player are displayed in-game as a series of icons to the left
|
||||
* of the mini-map.
|
||||
*
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaAura
|
||||
{
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
/***
|
||||
* Contains the state of a battleground, e.g. Warsong Gulch, Arathi Basin, etc.
|
||||
*
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaBattleGround
|
||||
{
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
/***
|
||||
* The remains of a [Player] that has died.
|
||||
*
|
||||
* Inherits all methods from: [Object], [WorldObject]
|
||||
*/
|
||||
namespace LuaCorpse
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/***
|
||||
* Non-[Player] controlled [Unit]s (i.e. NPCs).
|
||||
*
|
||||
* Inherits all [Object], [WorldObject], and [Unit] methods.
|
||||
* Inherits all methods from: [Object], [WorldObject], [Unit]
|
||||
*/
|
||||
namespace LuaCreature
|
||||
{
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
* The result of a database query.
|
||||
*
|
||||
* E.g. the return value of [Global:WorldDBQuery].
|
||||
*
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaQuery
|
||||
{
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#ifndef GAMEOBJECTMETHODS_H
|
||||
#define GAMEOBJECTMETHODS_H
|
||||
|
||||
/***
|
||||
* Inherits all methods from: [Object], [WorldObject]
|
||||
*/
|
||||
namespace LuaGameObject
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#ifndef GROUPMETHODS_H
|
||||
#define GROUPMETHODS_H
|
||||
|
||||
/***
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaGroup
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#ifndef GUILDMETHODS_H
|
||||
#define GUILDMETHODS_H
|
||||
|
||||
/***
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaGuild
|
||||
{
|
||||
/* GETTERS */
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#ifndef ITEMMETHODS_H
|
||||
#define ITEMMETHODS_H
|
||||
|
||||
/***
|
||||
* Inherits all methods from: [Object]
|
||||
*/
|
||||
namespace LuaItem
|
||||
{
|
||||
/* BOOLEAN */
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
/***
|
||||
* A game map, e.g. Azeroth, Eastern Kingdoms, the Molten Core, etc.
|
||||
*
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaMap
|
||||
{
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
*
|
||||
* The GetValue methods in this class (e.g. [Object:GetInt32Value]) provide low-level access to the data block.
|
||||
* Other methods, like [Object:HasFlag] and [Object:GetScale], merely wrap the GetValue methods and provide a simpler interface.
|
||||
*
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaObject
|
||||
{
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#ifndef PLAYERMETHODS_H
|
||||
#define PLAYERMETHODS_H
|
||||
|
||||
/***
|
||||
* Inherits all methods from: [Object], [WorldObject], [Unit]
|
||||
*/
|
||||
namespace LuaPlayer
|
||||
{
|
||||
/* BOOLEAN */
|
||||
@@ -3088,7 +3091,6 @@ namespace LuaPlayer
|
||||
* @param [Item] item : item to remove
|
||||
* @param uint32 entry : entry of the item to remove
|
||||
* @param uint32 itemCount = 1 : amount of the item to add
|
||||
* @return [Item] item : the item that was added or nil
|
||||
*/
|
||||
int RemoveItem(Eluna* /*E*/, lua_State* L, Player* player)
|
||||
{
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#ifndef QUESTMETHODS_H
|
||||
#define QUESTMETHODS_H
|
||||
|
||||
/***
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaQuest
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
/***
|
||||
* An instance of a spell, created when the spell is cast by a [Unit].
|
||||
*
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaSpell
|
||||
{
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#ifndef UNITMETHODS_H
|
||||
#define UNITMETHODS_H
|
||||
|
||||
/***
|
||||
* Inherits all methods from: [Object], [WorldObject]
|
||||
*/
|
||||
namespace LuaUnit
|
||||
{
|
||||
/* BOOLEAN */
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
#ifndef CLASSIC
|
||||
#ifndef TBC
|
||||
|
||||
/***
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaVehicle
|
||||
{
|
||||
/* BOOLEAN */
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#ifndef WORLDOBJECTMETHODS_H
|
||||
#define WORLDOBJECTMETHODS_H
|
||||
|
||||
/***
|
||||
* Inherits all methods from: [Object]
|
||||
*/
|
||||
namespace LuaWorldObject
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
* the client has sent a message that its [Player] wants to logout.
|
||||
*
|
||||
* The packet can contain further data, the format of which depends on the opcode.
|
||||
*
|
||||
* Inherits all methods from: none
|
||||
*/
|
||||
namespace LuaPacket
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user