Package kamkeel.npcdbc.api.npc
Interface IKiWeaponData
-
public interface IKiWeaponData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getColor()
int
getWeaponType()
float
getXOffset()
float
getXScale()
float
getYOffset()
float
getYScale()
float
getZOffset()
float
getZScale()
boolean
isEnabled()
void
setColor(int color, float alpha)
Sets the weapon color.void
setWeaponType(int type)
Sets the weapon typevoid
setXOffset(float offset)
void
setXScale(float scale)
void
setYOffset(float offset)
void
setYScale(float scale)
void
setZOffset(float offset)
void
setZScale(float scale)
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
-
setWeaponType
void setWeaponType(int type)
Sets the weapon type- Parameters:
type
- - 0 is off, 1 is Ki Blade, 2 is Ki Scythe
-
getWeaponType
int getWeaponType()
- Returns:
- - 0 is off, 1 is Ki Blade, 2 is Ki Scythe
-
setColor
void setColor(int color, float alpha)
Sets the weapon color.- Parameters:
color
- If it's set to -1, it relies on current aura color.alpha
- opacity of the color. 0 - Transparent, 1 - Opaque
-
getColor
int getColor()
-
setXOffset
void setXOffset(float offset)
-
setYOffset
void setYOffset(float offset)
-
setZOffset
void setZOffset(float offset)
-
getXOffset
float getXOffset()
-
getYOffset
float getYOffset()
-
getZOffset
float getZOffset()
-
setXScale
void setXScale(float scale)
-
setYScale
void setYScale(float scale)
-
setZScale
void setZScale(float scale)
-
getXScale
float getXScale()
-
getYScale
float getYScale()
-
getZScale
float getZScale()
-
-