/
NLObP
/
AAEmu
Обзор
Документация
Войти
/
NLObP
/
AAEmu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
AAEmu.Game/Models/Game/Units/IUnit.cs
17 строк
567 B
ZeromusXYZ
[Game] Update to equipment change packet code and pet gear bonusses (#1079)
16 авг 2024, 08:31
Не верифицирован
16 авг 2024, 08:31
e105714
Код
Авторство
О чём код?
using AAEmu.Game.Core.Network.Game; using AAEmu.Game.Models.Game.Items; using AAEmu.Game.Models.Game.Items.Containers; using AAEmu.Game.Models.Game.Skills.Static; namespace AAEmu.Game.Models.Game.Units; public interface IUnit : IBaseUnit { byte Level { get; set; } BaseUnit CurrentTarget { get; set; } BaseUnit CurrentInteractionObject { get; set; } ItemContainer Equipment { get; set; } void SendPacket(GamePacket packet); SkillResult UseSkill(uint skillId, IUnit target); void UpdateGearBonuses(Item itemAdded, Item itemRemoved); }