public static void DropSkill() { UIEvent e = Get(); e.type = UIEventType.DROP_SKILL; e.Invoke(); }
public static void PickSkill(Skill skill) { UIEvent e = Get(); e.type = UIEventType.PICK_SKILL; e.skill = skill; e.Invoke(); }
public static void EntityCreated(VEntity target) { UIEvent e = Get(); e.type = UIEventType.ENTITY_CREATED; e.entity = target; e.Invoke(); }
public static void EntityDestroied(VEntity target) { UIEvent e = Get(); e.type = UIEventType.ENTITY_DESTROIED; e.entity = target; e.Invoke(); }
public static void BattleEnd(int team) { UIEvent e = Get(); e.type = UIEventType.BATTLE_END; e.i0 = team; e.Invoke(); }
public static void EntityDie(VEntity target, VEntity killer) { UIEvent e = Get(); e.type = UIEventType.ENTITY_DIE; e.entity = target; e.killer = killer; e.Invoke(); }
public static void ItemUsed(CChampion target, bool result) { UIEvent e = Get(); e.type = UIEventType.ITEM_USED; e.target = target; e.b0 = result; e.Invoke(); }
public static void PickItem(CChampion target, string itemId) { UIEvent e = Get(); e.type = UIEventType.PICK_ITEM; e.target = target; e.itemId = itemId; e.Invoke(); }
public static void SkillUseFailed(VEntity caster, Skill skill, VEntity target) { UIEvent e = Get(); e.type = UIEventType.SKILL_USE_FAILED; e.entity = caster; e.skill = skill; e.target = target; e.Invoke(); }
public static void EntityAttrChanged(CEntity target, Attr attr, object value) { UIEvent e = Get(); e.type = UIEventType.ENTITY_ATTR_CHANGED; e.target = target; e.attr = attr; e.o0 = value; e.Invoke(); }
public static void AttrChanged(VEntity target, Attr attr, object oldValue, object newValue) { UIEvent e = Get(); e.type = UIEventType.ATTR_CHANGED; e.entity = target; e.attr = attr; e.o0 = oldValue; e.o1 = newValue; e.Invoke(); }
public static void Hurt(VBuff buff, VBio caster, VBio target, float damage) { UIEvent e = Get(); e.type = UIEventType.HURT; e.buff = buff; e.entity = caster; e.target = target; e.f0 = damage; e.Invoke(); }