diff --git a/src/Syroot.OnlineWorms.Server/Client.cs b/src/Syroot.OnlineWorms.Server/Client.cs index 867af00..a05c3ce 100644 --- a/src/Syroot.OnlineWorms.Server/Client.cs +++ b/src/Syroot.OnlineWorms.Server/Client.cs @@ -40,19 +40,19 @@ namespace Syroot.Worms.OnlineWorms.Server // ---- METHODS (PRIVATE) -------------------------------------------------------------------------------------- - private Packet HandleConnect(ConnectQueryPacket connectPacket) => new ConnectReplyPacket + private Packet HandleConnect(ConnectQueryPacket inPacket) => new ConnectReplyPacket { Unknown = _server.Name, Unknown2 = _server.RegionName, Version = _server.Version }; - private Packet HandleLogin(LoginQueryPacket loginPacket) + private Packet HandleLogin(LoginQueryPacket inPacket) { - LoginPlayerInfo[] playerInfos = new LoginPlayerInfo[loginPacket.Logins.Length]; - for (int i = 0; i < loginPacket.Logins.Length; i++) + LoginPlayerInfo[] playerInfos = new LoginPlayerInfo[inPacket.Logins.Length]; + for (int i = 0; i < inPacket.Logins.Length; i++) { - LoginCredentials credentials = loginPacket.Logins[i]; + LoginCredentials credentials = inPacket.Logins[i]; playerInfos[i] = new LoginPlayerInfo { ID = credentials.ID, @@ -69,7 +69,7 @@ namespace Syroot.Worms.OnlineWorms.Server } #if DEBUG - private Packet HandleRaw(RawQueryPacket rawPacket) => null; + private Packet HandleRaw(RawQueryPacket inPacket) => null; #endif } } \ No newline at end of file diff --git a/src/Syroot.OnlineWorms.Server/Net/Packets/LoginReplyPacket.cs b/src/Syroot.OnlineWorms.Server/Net/Packets/LoginReplyPacket.cs index fd27680..456ed42 100644 --- a/src/Syroot.OnlineWorms.Server/Net/Packets/LoginReplyPacket.cs +++ b/src/Syroot.OnlineWorms.Server/Net/Packets/LoginReplyPacket.cs @@ -46,7 +46,7 @@ namespace Syroot.Worms.OnlineWorms.Server.Net { Success = 0, IDAlreadyInUse = 3, - UnqualifiedID = 4, + UnverifiedID = 4, IncorrectID = 6, IncorrectPassword = 7, DuplicateIDs = 9,