public class QuestColor
extends java.lang.Object
Constructor and Description |
---|
QuestColor(io.netty.buffer.ByteBuf buf) |
QuestColor(int rgb) |
QuestColor(int r,
int g,
int b) |
Modifier and Type | Method and Description |
---|---|
float |
floatB() |
float |
floatG() |
float |
floatR() |
int |
getB() |
int |
getG() |
int |
getR() |
int |
getRGB() |
void |
readFromByteBuf(io.netty.buffer.ByteBuf buf) |
void |
setB(int b) |
void |
setG(int g) |
void |
setR(int r) |
void |
writeToByteBuf(io.netty.buffer.ByteBuf buf) |
public QuestColor(int r, int g, int b)
public QuestColor(int rgb)
public QuestColor(io.netty.buffer.ByteBuf buf)
public int getRGB()
public float floatR()
public float floatG()
public float floatB()
public int getR()
public int getG()
public int getB()
public void setR(int r)
public void setG(int g)
public void setB(int b)
public void readFromByteBuf(io.netty.buffer.ByteBuf buf)
public void writeToByteBuf(io.netty.buffer.ByteBuf buf)