mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 02:34:43 +00:00
Custom Effects and Player Events API
This commit is contained in:
1 parent
f91f9b43ba
commit
5a8246f728
4 files changed
+168
No files matched your search
@@ -0,0 +1,58 @@
|
||||
package noppes.npcs.api.handler.data;
|
||||
|
||||
public interface ICustomEffect {
|
||||
|
||||
int getID();
|
||||
|
||||
String getName();
|
||||
|
||||
boolean isCustom();
|
||||
|
||||
void setMenuName(String name);
|
||||
|
||||
String getMenuName();
|
||||
|
||||
void setName(String name);
|
||||
|
||||
String getIcon();
|
||||
|
||||
void setIcon(String icon);
|
||||
|
||||
int getEveryXTick();
|
||||
|
||||
void setEveryXTick(int everyXTick);
|
||||
|
||||
int getIconX();
|
||||
|
||||
void setIconX(int iconX);
|
||||
|
||||
int getIconY();
|
||||
|
||||
void setIconY(int iconY);
|
||||
|
||||
int getWidth();
|
||||
|
||||
void setWidth(int width);
|
||||
|
||||
int getHeight();
|
||||
|
||||
void setHeight(int height);
|
||||
|
||||
boolean isLossOnDeath();
|
||||
|
||||
void setLossOnDeath(boolean lossOnDeath);
|
||||
|
||||
ICustomEffect save();
|
||||
|
||||
void setID(int id);
|
||||
|
||||
/**
|
||||
* Utilized by DBC Addon or other Addons to tell
|
||||
* which map of Effects to Match to.
|
||||
* Index: 0 - CNPC+
|
||||
* Index: 1 - DBC Addon
|
||||
*/
|
||||
int getIndex();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user