> [!Note] > **Developer Note** > Now developers will only need to build/run the Application project instead of everything. > When adding new projects, make sure to: > 1. Add a reference to that project in the Application project. > 2. Add the dll file to the Distribution/Data/assemblies.json file ### Summary - Adds an application project - Consolidates process restarts to use `Core.Kill(true)` - Removes some old messaging, for example processor optimization - Fixes missing build cleanup
27 lines
No EOL
617 B
C#
27 lines
No EOL
617 B
C#
using Server.Network;
|
|
|
|
namespace Server.Engines.MLQuests;
|
|
|
|
public sealed class RaceChanger : Packet
|
|
{
|
|
public RaceChanger(bool female, Race targetRace) : base(0xBF)
|
|
{
|
|
EnsureCapacity(7);
|
|
|
|
Stream.Write((short)0x2A);
|
|
Stream.Write((byte)(female ? 1 : 0));
|
|
Stream.Write((byte)(targetRace.RaceID + 1));
|
|
}
|
|
}
|
|
|
|
public sealed class CloseRaceChanger : Packet
|
|
{
|
|
public CloseRaceChanger() : base(0xBF)
|
|
{
|
|
EnsureCapacity(7);
|
|
|
|
Stream.Write((short)0x2A);
|
|
Stream.Write((byte)0);
|
|
Stream.Write((byte)0xFF);
|
|
}
|
|
} |