mirror of
https://github.com/Rabiator1/SWG-Station-Chat.git
synced 2026-07-13 21:01:11 -04:00
Add files via upload
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package chat.protocol.response;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.ByteOrder;
|
||||
|
||||
import chat.protocol.GenericResponse;
|
||||
|
||||
public class ResLogoutAvatar extends GenericResponse {
|
||||
|
||||
public ResLogoutAvatar() {
|
||||
type = RESPONSE_LOGOUTAVATAR;
|
||||
}
|
||||
|
||||
@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) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user