[Quest API] Convert Client GetLastName() method export to Mob export. (#1331)

This commit is contained in:
Alex
2021-04-22 23:41:19 -04:00
committed by GitHub
parent 324d48aa90
commit 0f23bd24cc
6 changed files with 27 additions and 27 deletions
-19
View File
@@ -446,24 +446,6 @@ XS(XS_Client_GetLanguageSkill) {
XSRETURN(1);
}
XS(XS_Client_GetLastName); /* prototype to pass -Wmissing-prototypes */
XS(XS_Client_GetLastName) {
dXSARGS;
if (items != 1)
Perl_croak(aTHX_ "Usage: Client::GetLastName(THIS)"); // @categories Account and Character
{
Client *THIS;
Const_char *RETVAL;
dXSTARG;
VALIDATE_THIS_IS_CLIENT;
RETVAL = THIS->GetLastName();
sv_setpv(TARG, RETVAL);
XSprePUSH;
PUSHTARG;
}
XSRETURN(1);
}
XS(XS_Client_GetLDoNPointsTheme); /* prototype to pass -Wmissing-prototypes */
XS(XS_Client_GetLDoNPointsTheme) {
dXSARGS;
@@ -5385,7 +5367,6 @@ XS(boot_Client) {
newXSproto(strcpy(buf, "GetItemIDAt"), XS_Client_GetItemIDAt, file, "$$");
newXSproto(strcpy(buf, "GetItemInInventory"), XS_Client_GetItemInInventory, file, "$$");
newXSproto(strcpy(buf, "GetLanguageSkill"), XS_Client_GetLanguageSkill, file, "$$");
newXSproto(strcpy(buf, "GetLastName"), XS_Client_GetLastName, file, "$");
newXSproto(strcpy(buf, "GetLDoNLosses"), XS_Client_GetLDoNLosses, file, "$");
newXSproto(strcpy(buf, "GetLDoNLossesTheme"), XS_Client_GetLDoNLossesTheme, file, "$$");
newXSproto(strcpy(buf, "GetLDoNPointsTheme"), XS_Client_GetLDoNPointsTheme, file, "$");