mirror of
https://gitlab.com/Syroot/Worms.git
synced 2025-04-09 19:00: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
|
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents the client request for a <see cref="ConnectReplyPacket"/>.
|
/// Represents the client request for a <see cref="ConnectReply"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Packet(0x800E)]
|
[Packet(0x800E)]
|
||||||
internal class ConnectQueryPacket : Packet
|
internal class ConnectQuery : Packet
|
||||||
{
|
{
|
||||||
// ---- METHODS (INTERNAL) -------------------------------------------------------------------------------------
|
// ---- METHODS (INTERNAL) -------------------------------------------------------------------------------------
|
||||||
|
|
@ -4,10 +4,10 @@ using Syroot.BinaryData;
|
|||||||
namespace Syroot.Worms.OnlineWorms.Server.Net
|
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents the server response to a <see cref="ConnectQueryPacket"/>.
|
/// Represents the server response to a <see cref="ConnectQuery"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Packet(0x800F)]
|
[Packet(0x800F)]
|
||||||
internal class ConnectReplyPacket : Packet
|
internal class ConnectReply : Packet
|
||||||
{
|
{
|
||||||
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
||||||
|
|
@ -5,10 +5,10 @@ using Syroot.BinaryData;
|
|||||||
namespace Syroot.Worms.OnlineWorms.Server.Net
|
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents the client request for a <see cref="LoginReplyPacket"/>.
|
/// Represents the client request for a <see cref="LoginReply"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Packet(0x8000)]
|
[Packet(0x8000)]
|
||||||
internal class LoginQueryPacket : Packet
|
internal class LoginQuery : Packet
|
||||||
{
|
{
|
||||||
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
||||||
|
|
@ -4,10 +4,10 @@ using Syroot.BinaryData;
|
|||||||
namespace Syroot.Worms.OnlineWorms.Server.Net
|
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents the server response to a <see cref="LoginQueryPacket"/>.
|
/// Represents the server response to a <see cref="LoginQuery"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Packet(0x8001)]
|
[Packet(0x8001)]
|
||||||
internal class LoginReplyPacket : Packet
|
internal class LoginReply : Packet
|
||||||
{
|
{
|
||||||
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
// ---- 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
|
internal enum LoginResult : byte
|
||||||
{
|
{
|
||||||
Success = 0,
|
Success = 0,
|
||||||
@ -55,10 +61,4 @@ namespace Syroot.Worms.OnlineWorms.Server.Net
|
|||||||
PublicAccessBanned = 12,
|
PublicAccessBanned = 12,
|
||||||
TemporarilyBannedID = 13
|
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>
|
/// <summary>
|
||||||
/// Represents a special fallback packet which simply stores any ID and the raw client packet data.
|
/// Represents a special fallback packet which simply stores any ID and the raw client packet data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal class RawQueryPacket : Packet
|
internal class RawQuery : Packet
|
||||||
{
|
{
|
||||||
// ---- CONSTRUCTORS & DESTRUCTOR ------------------------------------------------------------------------------
|
// ---- CONSTRUCTORS & DESTRUCTOR ------------------------------------------------------------------------------
|
||||||
|
|
||||||
internal RawQueryPacket(ushort id)
|
internal RawQuery(ushort id)
|
||||||
{
|
{
|
||||||
ID = id;
|
ID = id;
|
||||||
}
|
}
|
@ -3,11 +3,11 @@
|
|||||||
namespace Syroot.Worms.OnlineWorms.Server.Net
|
namespace Syroot.Worms.OnlineWorms.Server.Net
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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.
|
/// screen text.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Packet(0x8033)]
|
[Packet(0x8033)]
|
||||||
internal class ServerInfoReplyPacket : Packet
|
internal class ServerInfoReply : Packet
|
||||||
{
|
{
|
||||||
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
// ---- PROPERTIES ---------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user