### Summary * Fixes syntax compile error when THREADGUARD is enabled. * Removes `int packetLength` from incoming packet handles since they aren't needed. ### Developer Notes Incoming packet handler `SpanReader` is now properly scoped to that packet by length.
18 lines
473 B
C#
18 lines
473 B
C#
using System.Buffers;
|
|
using Server.Network;
|
|
|
|
namespace Server.Engines.UltimaStore
|
|
{
|
|
public static class UltimaStorePackets
|
|
{
|
|
public static unsafe void Configure()
|
|
{
|
|
IncomingPackets.Register(0xFA, 1, true, &UltimaStoreOpenRequest);
|
|
}
|
|
|
|
public static void UltimaStoreOpenRequest(NetState state, SpanReader reader)
|
|
{
|
|
state.Mobile.SendMessage("Ultima Store is not currently available.");
|
|
}
|
|
}
|
|
}
|