mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
* Properly implement ICommodity.Description in CommodityDeed tooltips. * Improve arbitrary formatting for merge compatibility. * Fix a timer dump export error. * Remove redundant missing file from csproj list. * Add an overload for Gump.AddTooltip that takes a single string argument. * Fix access level checks for VvV potions. * Rename Server.Items.Size enum to Server.Items.ItemSize to prevent ambiguity with System.Drawing.Size. * Add helper method for adding TextDefinitions to gumps as a tooltip. * Collection rewards now support TextDefinition tooltips. * Removed conflicting AddTooltip(string text) * Fixed Compile error with new ToolTip Support. Co-authored-by: TrueUO <staff@trueuo.com> Co-authored-by: Dexter <kevin_bourne10@yahoo.com>
82 lines
1.6 KiB
C#
82 lines
1.6 KiB
C#
using Server.Engines.Craft;
|
|
using Server.Mobiles;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public interface IUsesRemaining
|
|
{
|
|
int UsesRemaining { get; set; }
|
|
bool ShowUsesRemaining { get; set; }
|
|
}
|
|
|
|
public interface IAccountRestricted
|
|
{
|
|
string Account { get; set; }
|
|
}
|
|
|
|
public interface IOwnerRestricted
|
|
{
|
|
Mobile Owner { get; set; }
|
|
string OwnerName { get; set; }
|
|
}
|
|
|
|
public interface IFlipable
|
|
{
|
|
void OnFlip(Mobile m);
|
|
}
|
|
|
|
public interface IQuality : ICraftable
|
|
{
|
|
ItemQuality Quality { get; set; }
|
|
bool PlayerConstructed { get; }
|
|
}
|
|
|
|
public interface IResource
|
|
{
|
|
CraftResource Resource { get; set; }
|
|
}
|
|
|
|
public interface IConditionalVisibility
|
|
{
|
|
bool CanBeSeenBy(PlayerMobile m);
|
|
}
|
|
|
|
public interface IImbuableEquipement
|
|
{
|
|
int TimesImbued { get; set; }
|
|
bool IsImbued { get; set; }
|
|
|
|
int[] BaseResists { get; }
|
|
void OnAfterImbued(Mobile m, int mod, int value);
|
|
}
|
|
|
|
public interface ICombatEquipment : IImbuableEquipement
|
|
{
|
|
ItemPower ItemPower { get; set; }
|
|
ReforgedPrefix ReforgedPrefix { get; set; }
|
|
ReforgedSuffix ReforgedSuffix { get; set; }
|
|
bool PlayerConstructed { get; set; }
|
|
}
|
|
|
|
public enum ItemQuality
|
|
{
|
|
Low,
|
|
Normal,
|
|
Exceptional
|
|
}
|
|
|
|
public enum DirectionType
|
|
{
|
|
None = 0,
|
|
South = 1,
|
|
East = 2,
|
|
North = 3,
|
|
West = 4
|
|
}
|
|
|
|
public enum ItemSize
|
|
{
|
|
Small,
|
|
Large,
|
|
}
|
|
}
|