forked from PGR/ascnet
1
0
Fork 0

oops wrong response names

This commit is contained in:
rfi 2023-12-03 16:34:02 +07:00
parent e53b6770a2
commit 2cfa17006c
1 changed files with 9 additions and 3 deletions

View File

@ -31,6 +31,12 @@ namespace AscNet.GameServer.Handlers
public int TemplateId;
}
[MessagePackObject(true)]
public class CharacterPromoteQualityResponse
{
public int Code;
}
[MessagePackObject(true)]
public class CharacterActivateStarRequest
{
@ -187,7 +193,7 @@ namespace AscNet.GameServer.Handlers
else
{
// CharacterManagerActivateStarMaxStar
throw new ServerCodeException("Character quality already maxed!", 20009015);
throw new ServerCodeException("Character star already maxed!", 20009015);
}
}
catch (ServerCodeException ex)
@ -250,7 +256,7 @@ namespace AscNet.GameServer.Handlers
}
catch (ServerCodeException ex)
{
session.SendResponse(new CharacterActivateStarResponse() { Code = ex.Code }, packet.Id);
session.SendResponse(new CharacterPromoteQualityResponse() { Code = ex.Code }, packet.Id);
return;
}
@ -259,7 +265,7 @@ namespace AscNet.GameServer.Handlers
CharacterDataList = { character }
});
session.SendResponse(new CharacterActivateStarResponse(), packet.Id);
session.SendResponse(new CharacterPromoteQualityResponse(), packet.Id);
}
[RequestPacketHandler("CharacterUpgradeSkillGroupRequest")]