mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Fix Hook Visibility Control in Basements
* Update WorldDatabase.cs
* GetBasementHouseGuid -> GetCachedBasementHouseGuid
* Fix issue on Hook Appraisal
* Workaround fix to spawn hooks
Missing hooks will now spawn
Also includes a change to remove hook from Shard DB when it doesn't contain anything
* Remove Storage chest when empty
* .
* Update Landblock.cs
- Update Logging messages
- Notify Generator of spawn failure for regen retry
* Revert "Update Landblock.cs"
This reverts commit b0ae262b27.
* Fix more Hook Appraisal issues
* .
* Update AppraiseInfo.cs
* Update AppraiseInfo.cs
* Update AppraiseInfo.cs
Owned Hooks always displayer owner
* Add null account check
* Save and Propigate HouseOwner to Basement
* Update HouseManager.cs
* .
* House/Payement Save/Destroy
* .
* .
* Update Hook.cs
* .
* updates to a few pieces
* Change spawn workaround
* .
* Update WorldObject.cs
* match current property save
* minor cleanup
33 lines
782 B
C#
33 lines
782 B
C#
using ACE.Entity.Enum;
|
|
using System;
|
|
using System.IO;
|
|
|
|
namespace ACE.Server.Network.Structure
|
|
{
|
|
[Flags]
|
|
public enum HookFlags
|
|
{
|
|
None = 0x0,
|
|
Inscribable = 0x1,
|
|
IsHealer = 0x2,
|
|
IsFood = 0x4,
|
|
IsLockpick = 0x8
|
|
};
|
|
|
|
public class HookProfile
|
|
{
|
|
public HookFlags Flags = HookFlags.None;
|
|
public EquipMask ValidLocations = EquipMask.None;
|
|
public AmmoType AmmoType = AmmoType.None;
|
|
}
|
|
|
|
public static class HookProfileExtensions
|
|
{
|
|
public static void Write(this BinaryWriter writer, HookProfile hook)
|
|
{
|
|
writer.Write((uint)hook.Flags);
|
|
writer.Write((uint)hook.ValidLocations);
|
|
writer.Write((uint)hook.AmmoType);
|
|
}
|
|
}
|
|
}
|