mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Update perl_questitem.cpp (#1227)
Add category tags for quest_item methods.
This commit is contained in:
@@ -51,7 +51,7 @@ XS(XS_QuestItem_GetName);
|
|||||||
XS(XS_QuestItem_GetName) {
|
XS(XS_QuestItem_GetName) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
if (items != 1)
|
if (items != 1)
|
||||||
Perl_croak(aTHX_ "Usage: QuestItem::GetName(THIS)");
|
Perl_croak(aTHX_ "Usage: QuestItem::GetName(THIS)"); // @categories Inventory and Items
|
||||||
{
|
{
|
||||||
EQ::ItemInstance *THIS;
|
EQ::ItemInstance *THIS;
|
||||||
Const_char *RETVAL;
|
Const_char *RETVAL;
|
||||||
@@ -69,7 +69,7 @@ XS(XS_QuestItem_SetScale);
|
|||||||
XS(XS_QuestItem_SetScale) {
|
XS(XS_QuestItem_SetScale) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
if (items != 2)
|
if (items != 2)
|
||||||
Perl_croak(aTHX_ "Usage: QuestItem::SetScale(THIS, float scale_multiplier)");
|
Perl_croak(aTHX_ "Usage: QuestItem::SetScale(THIS, float scale_multiplier)"); // @categories Inventory and Items
|
||||||
{
|
{
|
||||||
EQ::ItemInstance *THIS;
|
EQ::ItemInstance *THIS;
|
||||||
float Mult;
|
float Mult;
|
||||||
@@ -87,7 +87,7 @@ XS(XS_QuestItem_ItemSay);
|
|||||||
XS(XS_QuestItem_ItemSay) {
|
XS(XS_QuestItem_ItemSay) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
if (items != 2 && items != 3)
|
if (items != 2 && items != 3)
|
||||||
Perl_croak(aTHX_ "Usage: QuestItem::ItemSay(THIS, string text [int language_id])");
|
Perl_croak(aTHX_ "Usage: QuestItem::ItemSay(THIS, string text [int language_id])"); // @categories Inventory and Items
|
||||||
{
|
{
|
||||||
EQ::ItemInstance *THIS;
|
EQ::ItemInstance *THIS;
|
||||||
Const_char *text;
|
Const_char *text;
|
||||||
@@ -106,7 +106,7 @@ XS(XS_QuestItem_IsType); /* prototype to pass -Wmissing-prototypes */
|
|||||||
XS(XS_QuestItem_IsType) {
|
XS(XS_QuestItem_IsType) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
if (items != 2)
|
if (items != 2)
|
||||||
Perl_croak(aTHX_ "Usage: QuestItem::IsType(THIS, type)");
|
Perl_croak(aTHX_ "Usage: QuestItem::IsType(THIS, type)"); // @categories Inventory and Items
|
||||||
{
|
{
|
||||||
EQ::ItemInstance *THIS;
|
EQ::ItemInstance *THIS;
|
||||||
bool RETVAL;
|
bool RETVAL;
|
||||||
@@ -123,7 +123,7 @@ XS(XS_QuestItem_IsAttuned); /* prototype to pass -Wmissing-prototypes */
|
|||||||
XS(XS_QuestItem_IsAttuned) {
|
XS(XS_QuestItem_IsAttuned) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
if (items != 1)
|
if (items != 1)
|
||||||
Perl_croak(aTHX_ "Usage: QuestItem::IsAttuned(THIS)");
|
Perl_croak(aTHX_ "Usage: QuestItem::IsAttuned(THIS)"); // @categories Inventory and Items
|
||||||
{
|
{
|
||||||
EQ::ItemInstance *THIS;
|
EQ::ItemInstance *THIS;
|
||||||
bool RETVAL;
|
bool RETVAL;
|
||||||
@@ -139,7 +139,7 @@ XS(XS_QuestItem_GetCharges); /* prototype to pass -Wmissing-prototypes */
|
|||||||
XS(XS_QuestItem_GetCharges) {
|
XS(XS_QuestItem_GetCharges) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
if (items != 1)
|
if (items != 1)
|
||||||
Perl_croak(aTHX_ "Usage: QuestItem::GetCharges(THIS)");
|
Perl_croak(aTHX_ "Usage: QuestItem::GetCharges(THIS)"); // @categories Inventory and Items
|
||||||
{
|
{
|
||||||
EQ::ItemInstance *THIS;
|
EQ::ItemInstance *THIS;
|
||||||
int16 RETVAL;
|
int16 RETVAL;
|
||||||
@@ -156,7 +156,7 @@ XS(XS_QuestItem_GetAugment); /* prototype to pass -Wmissing-prototypes */
|
|||||||
XS(XS_QuestItem_GetAugment) {
|
XS(XS_QuestItem_GetAugment) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
if (items != 2)
|
if (items != 2)
|
||||||
Perl_croak(aTHX_ "Usage: QuestItem::GetAugment(THIS, int16 slot_id)");
|
Perl_croak(aTHX_ "Usage: QuestItem::GetAugment(THIS, int16 slot_id)"); // @categories Inventory and Items
|
||||||
{
|
{
|
||||||
EQ::ItemInstance *THIS;
|
EQ::ItemInstance *THIS;
|
||||||
int16 slot_id = (int16) SvIV(ST(1));
|
int16 slot_id = (int16) SvIV(ST(1));
|
||||||
@@ -173,7 +173,7 @@ XS(XS_QuestItem_GetID); /* prototype to pass -Wmissing-prototypes */
|
|||||||
XS(XS_QuestItem_GetID) {
|
XS(XS_QuestItem_GetID) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
if (items != 1)
|
if (items != 1)
|
||||||
Perl_croak(aTHX_ "Usage: QuestItem::GetID(THIS)");
|
Perl_croak(aTHX_ "Usage: QuestItem::GetID(THIS)"); // @categories Inventory and Items
|
||||||
{
|
{
|
||||||
EQ::ItemInstance *THIS;
|
EQ::ItemInstance *THIS;
|
||||||
uint32 RETVAL;
|
uint32 RETVAL;
|
||||||
|
|||||||
Reference in New Issue
Block a user