Table of Contents

Class MegaClilocBuilder

Namespace
Moongate.Network.Packets.Helpers
Assembly
Moongate.Network.Packets.dll

Helper class for building Mega Cliloc tooltips

public static class MegaClilocBuilder
Inheritance
MegaClilocBuilder
Inherited Members

Methods

AddBlessed(ObjectPropertyList)

public static void AddBlessed(ObjectPropertyList list)

Parameters

list ObjectPropertyList

AddCursed(ObjectPropertyList)

public static void AddCursed(ObjectPropertyList list)

Parameters

list ObjectPropertyList

AddDurability(ObjectPropertyList, int, int)

public static void AddDurability(ObjectPropertyList list, int current, int max)

Parameters

list ObjectPropertyList
current int
max int

AddInsured(ObjectPropertyList)

public static void AddInsured(ObjectPropertyList list)

Parameters

list ObjectPropertyList

AddSkillBonus(ObjectPropertyList, string, int)

public static void AddSkillBonus(ObjectPropertyList list, string skillName, int bonus)

Parameters

list ObjectPropertyList
skillName string
bonus int

AddSlayer(ObjectPropertyList, string)

public static void AddSlayer(ObjectPropertyList list, string slayerType)

Parameters

list ObjectPropertyList
slayerType string

AddSpellChanneling(ObjectPropertyList)

public static void AddSpellChanneling(ObjectPropertyList list)

Parameters

list ObjectPropertyList

AddUsesRemaining(ObjectPropertyList, int)

public static void AddUsesRemaining(ObjectPropertyList list, int uses)

Parameters

list ObjectPropertyList
uses int

CreateArmorTooltip(Serial, string, int, int, int, int, int, int, int)

Creates a tooltip for armor

public static ObjectPropertyList CreateArmorTooltip(Serial serial, string name, int armorRating, int physicalResist = 0, int fireResist = 0, int coldResist = 0, int poisonResist = 0, int energyResist = 0, int weight = 0)

Parameters

serial Serial
name string
armorRating int
physicalResist int
fireResist int
coldResist int
poisonResist int
energyResist int
weight int

Returns

ObjectPropertyList

CreateContainerTooltip(Serial, string, int, int, int)

Creates a tooltip for a container showing contents

public static ObjectPropertyList CreateContainerTooltip(Serial serial, string name, int itemCount, int totalWeight, int maxItems = -1)

Parameters

serial Serial
name string
itemCount int
totalWeight int
maxItems int

Returns

ObjectPropertyList

CreateItemTooltip(Serial, string, int, int, int, int)

Creates a basic tooltip for an item

public static ObjectPropertyList CreateItemTooltip(Serial serial, string name, int itemId, int amount = 1, int weight = 0, int hue = 0)

Parameters

serial Serial
name string
itemId int
amount int
weight int
hue int

Returns

ObjectPropertyList

CreateMobileTooltip(Serial, string, int, int, int, int, int, int, bool, string?, bool)

Creates a tooltip for a mobile (creature/player)

public static ObjectPropertyList CreateMobileTooltip(Serial serial, string name, int hits, int hitsMax, int mana, int manaMax, int stamina, int staminaMax, bool isPlayer = false, string? guild = null, bool isMurderer = false)

Parameters

serial Serial
name string
hits int
hitsMax int
mana int
manaMax int
stamina int
staminaMax int
isPlayer bool
guild string
isMurderer bool

Returns

ObjectPropertyList

CreateWeaponTooltip(Serial, string, int, int, int, int, int, int)

Creates a tooltip for a weapon

public static ObjectPropertyList CreateWeaponTooltip(Serial serial, string name, int damageMin, int damageMax, int speed, int weight = 0, int hitChanceIncrease = 0, int damageIncrease = 0)

Parameters

serial Serial
name string
damageMin int
damageMax int
speed int
weight int
hitChanceIncrease int
damageIncrease int

Returns

ObjectPropertyList