mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 20:56:37 +00:00
[Quest API] Convert Client GetLastName() method export to Mob export. (#1331)
This commit is contained in:
@@ -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, "$");
|
||||
|
||||
Reference in New Issue
Block a user