> [!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
28 lines
No EOL
611 B
C#
28 lines
No EOL
611 B
C#
using Server.Network;
|
|
|
|
namespace UOContent.Tests;
|
|
|
|
public sealed class ToggleSpecialAbility : Packet
|
|
{
|
|
public ToggleSpecialAbility(int abilityID, bool active) : base(0xBF)
|
|
{
|
|
EnsureCapacity(7);
|
|
|
|
Stream.Write((short)0x25);
|
|
|
|
Stream.Write((short)abilityID);
|
|
Stream.Write(active);
|
|
}
|
|
}
|
|
|
|
public sealed class ClearWeaponAbility : Packet
|
|
{
|
|
public static readonly Packet Instance = SetStatic(new ClearWeaponAbility());
|
|
|
|
public ClearWeaponAbility() : base(0xBF)
|
|
{
|
|
EnsureCapacity(5);
|
|
|
|
Stream.Write((short)0x21);
|
|
}
|
|
} |