project: add missing api components (#2935)

* api: add missing api components

api: add missing api components

* oops

* .
This commit is contained in:
Kyle
2021-02-22 23:59:40 +00:00
committed by GitHub
parent 0d33d3d356
commit b58482938e
10 changed files with 949 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
package com.openosrs.client.events;
import lombok.Value;
import net.runelite.api.Player;
import com.openosrs.client.game.AttackStyle;
/**
* This will fire when {@link com.openosrs.client.game.PlayerManager} detects
* a change in the player appearance that resulted in the shifting of an attack style.
* For example, ranged str went to 0, but melee str went to 108.
*/
@Value
public class AttackStyleChanged
{
/**
* The player that changed styles.
*/
Player player;
/**
* Can be Unknown(nullable)
*
* @see com.openosrs.client.game.AttackStyle
*/
AttackStyle oldStyle;
/**
* Can be Unknown(nullable)
*
* @see com.openosrs.client.game.AttackStyle
*/
AttackStyle newStyle;
}