mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Updated method documentation and cleaned up
Method documentation should be completed. Only thing left now is polishing up (fixing typos, update wording, add enumerator data to method documentation that doesn't have it, etc).. Cleaned whitespaces Corrected/Fixed up some comments Removed all known documented method comments in LuaFunctions.cpp. Commented out methods are now marked as undocumented until they are uncommented & documented in their respective header files. Removed 'Getter, Setter, Boolean, Other' comments in method files Documented VehicleMethods, the rest of PlayerMethods, UnitMethods, CreatureMethods and GuildMethods. Refer to #101 for more information
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
*/
|
||||
namespace LuaItem
|
||||
{
|
||||
/* BOOLEAN */
|
||||
/**
|
||||
* Returns 'true' if the [Item] is soulbound, 'false' otherwise
|
||||
*
|
||||
@@ -231,15 +230,11 @@ namespace LuaItem
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* int IsRefundExpired(Eluna* E, lua_State* L, Item* item)// TODO: Implement core support
|
||||
* {
|
||||
* Eluna::Push(L, item->IsRefundExpired());
|
||||
* return 1;
|
||||
* }
|
||||
*/
|
||||
|
||||
/* GETTERS */
|
||||
/*int IsRefundExpired(Eluna* E, lua_State* L, Item* item)// TODO: Implement core support
|
||||
{
|
||||
Eluna::Push(L, item->IsRefundExpired());
|
||||
return 1;
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Returns the chat link of the [Item]
|
||||
@@ -295,12 +290,8 @@ namespace LuaItem
|
||||
}
|
||||
if (suffix)
|
||||
{
|
||||
//std::string test(suffix[(name != temp->Name1) ? loc_idx : DEFAULT_LOCALE]);
|
||||
//if (!test.empty())
|
||||
//{
|
||||
name += ' ';
|
||||
name += suffix[(name != temp->Name1) ? locale : uint8(DEFAULT_LOCALE)];
|
||||
/*}*/
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -631,7 +622,6 @@ namespace LuaItem
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* SETTERS */
|
||||
/**
|
||||
* Sets the [Player] specified as the owner of the [Item]
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user