mirror of
https://gitlab.com/Syroot/Worms.git
synced 2025-04-05 08:59:06 +03:00
Remove Packet postfixes of packet classes.
This commit is contained in:
parent
f6b37eb96c
commit
90110979c0
@ -3,10 +3,10 @@
|
||||
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the client request for a <see cref="ConnectReplyPacket"/>.
|
||||
/// Represents the client request for a <see cref="ConnectReply"/>.
|
||||
/// </summary>
|
||||
[Packet(0x800E)]
|
||||
internal class ConnectQueryPacket : Packet
|
||||
internal class ConnectQuery : Packet
|
||||
{
|
||||
// ---- METHODS (INTERNAL) -------------------------------------------------------------------------------------
|
||||
|
@ -4,10 +4,10 @@ using Syroot.BinaryData;
|
||||
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the server response to a <see cref="ConnectQueryPacket"/>.
|
||||
/// Represents the server response to a <see cref="ConnectQuery"/>.
|
||||
/// </summary>
|
||||
[Packet(0x800F)]
|
||||
internal class ConnectReplyPacket : Packet
|
||||
internal class ConnectReply : Packet
|
||||
{
|
||||
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
||||
|
@ -5,10 +5,10 @@ using Syroot.BinaryData;
|
||||
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the client request for a <see cref="LoginReplyPacket"/>.
|
||||
/// Represents the client request for a <see cref="LoginReply"/>.
|
||||
/// </summary>
|
||||
[Packet(0x8000)]
|
||||
internal class LoginQueryPacket : Packet
|
||||
internal class LoginQuery : Packet
|
||||
{
|
||||
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
||||
|
@ -4,10 +4,10 @@ using Syroot.BinaryData;
|
||||
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the server response to a <see cref="LoginQueryPacket"/>.
|
||||
/// Represents the server response to a <see cref="LoginQuery"/>.
|
||||
/// </summary>
|
||||
[Packet(0x8001)]
|
||||
internal class LoginReplyPacket : Packet
|
||||
internal class LoginReply : Packet
|
||||
{
|
||||
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
||||
|
||||
@ -42,6 +42,12 @@ namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||
}
|
||||
}
|
||||
|
||||
internal class LoginPlayerInfo
|
||||
{
|
||||
internal string ID { get; set; }
|
||||
internal ushort Rank { get; set; }
|
||||
}
|
||||
|
||||
internal enum LoginResult : byte
|
||||
{
|
||||
Success = 0,
|
||||
@ -55,10 +61,4 @@ namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||
PublicAccessBanned = 12,
|
||||
TemporarilyBannedID = 13
|
||||
}
|
||||
|
||||
internal class LoginPlayerInfo
|
||||
{
|
||||
internal string ID { get; set; }
|
||||
internal ushort Rank { get; set; }
|
||||
}
|
||||
}
|
@ -4,11 +4,11 @@ namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||
/// <summary>
|
||||
/// Represents a special fallback packet which simply stores any ID and the raw client packet data.
|
||||
/// </summary>
|
||||
internal class RawQueryPacket : Packet
|
||||
internal class RawQuery : Packet
|
||||
{
|
||||
// ---- CONSTRUCTORS & DESTRUCTOR ------------------------------------------------------------------------------
|
||||
|
||||
internal RawQueryPacket(ushort id)
|
||||
internal RawQuery(ushort id)
|
||||
{
|
||||
ID = id;
|
||||
}
|
@ -3,11 +3,11 @@
|
||||
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an additional server response to a <see cref="LoginQueryPacket"/>, providing informational server
|
||||
/// Represents an additional server response to a <see cref="LoginQuery"/>, providing informational server
|
||||
/// screen text.
|
||||
/// </summary>
|
||||
[Packet(0x8033)]
|
||||
internal class ServerInfoReplyPacket : Packet
|
||||
internal class ServerInfoReply : Packet
|
||||
{
|
||||
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user