Compare commits

..

No commits in common. "664a8488696b4c51a836fa5af0506e4b8f49805c" and "adb57bcefc5cc00f8f960b438cd97e2d47ad45a3" have entirely different histories.

View file

@ -5,8 +5,6 @@ using Protocol;
namespace GameServer.Handlers; namespace GameServer.Handlers;
internal class AuthMessageHandler : MessageHandlerBase internal class AuthMessageHandler : MessageHandlerBase
{ {
private const int CharacterId = 1601;
public AuthMessageHandler(KcpSession session) : base(session) public AuthMessageHandler(KcpSession session) : base(session)
{ {
// AuthMessageHandler. // AuthMessageHandler.
@ -58,7 +56,7 @@ internal class AuthMessageHandler : MessageHandlerBase
new RoleShowEntry new RoleShowEntry
{ {
Level = 1, Level = 1,
RoleId = CharacterId RoleId = 1302
} }
}, },
}); });
@ -86,7 +84,7 @@ internal class AuthMessageHandler : MessageHandlerBase
EntityType = (int)EEntityType.Player, EntityType = (int)EEntityType.Player,
PlayerId = 1337, PlayerId = 1337,
LivingStatus = (int)LivingStatus.Alive, LivingStatus = (int)LivingStatus.Alive,
ConfigId = CharacterId, ConfigId = 1302,
ConfigType = (int)EntityConfigType.Character, ConfigType = (int)EntityConfigType.Character,
Id = 1, Id = 1,
IsVisible = true, IsVisible = true,
@ -227,7 +225,7 @@ internal class AuthMessageHandler : MessageHandlerBase
CurHp = 1000, CurHp = 1000,
MaxHp = 1000, MaxHp = 1000,
IsControl = true, IsControl = true,
RoleId = CharacterId, RoleId = 1302,
RoleLevel = 1, RoleLevel = 1,
} }
}, },
@ -285,10 +283,10 @@ internal class AuthMessageHandler : MessageHandlerBase
{ {
new FightFormation new FightFormation
{ {
CurRole = CharacterId, CurRole = 1302,
FormationId = 1, FormationId = 1,
IsCurrent = true, IsCurrent = true,
RoleIds = { CharacterId }, RoleIds = { 1302 },
} }
}, },
}); });