ServerManagers/src/QueryMaster/QueryMsg.cs
2021-01-07 16:23:23 +10:00

27 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QueryMaster
{
static class QueryMsg
{
internal static readonly byte[] InfoQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x54, 0x53, 0x6F, 0x75, 0x72, 0x63, 0x65, 0x20, 0x45, 0x6E, 0x67, 0x69, 0x6E, 0x65, 0x20, 0x51, 0x75, 0x65, 0x72, 0x79, 0x00 };
internal static readonly byte[] ObsoleteInfoQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6C, 0x73 };
internal static readonly byte[] RuleChallengeQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x56, 0xFF, 0xFF, 0xFF, 0xFF };
internal static readonly byte[] PlayerChallengeQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x55, 0xFF, 0xFF, 0xFF, 0xFF };
internal static readonly byte[] PlayerQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x55 };
internal static readonly byte[] ObsoletePlayerQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x70, 0x6C, 0x61, 0x79, 0x65, 0x72, 0x73 };
internal static readonly byte[] RuleQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x56 };
internal static readonly byte[] ObsoleteRuleQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x72, 0x75, 0x6C, 0x65, 0x73 };
internal static readonly byte[] ObsoletePingQuery = { 0xFF, 0xFF, 0xFF, 0xFF, 0x69 };
}
}