Add files via upload

This commit is contained in:
Rabiator1
2016-10-24 02:09:13 +02:00
committed by GitHub
parent caeee7a51a
commit c699aa17c9
99 changed files with 10412 additions and 0 deletions
@@ -0,0 +1,30 @@
package chat.protocol.response;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import chat.protocol.GenericResponse;
public class ResDestroyAvatar extends GenericResponse {
public ResDestroyAvatar() {
type = RESPONSE_DESTROYAVATAR;
}
@Override
public ByteBuffer serialize() {
ByteBuffer buf = ByteBuffer.allocate(14).order(ByteOrder.LITTLE_ENDIAN);
buf.putInt(0);
buf.putShort(type);
buf.putInt(track);
buf.putInt(result.ordinal());
writeSize(buf);
return buf;
}
@Override
public void deserialize(ByteBuffer buf) {
}
}