예제 #1
0
 public void serialize(ByteArray data) {
   data.writeUTF(this.ASV2014_2839);
   data.writeByte(this.ASV2014_2171);
   data.writeByte(this.battlegroundType);
   data.writeByte(this.battlegroundTokenAmount);
   this._lostItems.serialize(data);
 }
예제 #2
0
 public void deserialize(ByteArray data) {
   this.ASV2014_2839 = data.readUTF();
   this.ASV2014_2171 = data.readByte();
   this.battlegroundType = data.readByte();
   this.battlegroundTokenAmount = data.readByte();
   this._lostItems.deserialize(data);
 }
예제 #3
0
 public void serialize(ByteArray data) {
   component.ClientSocket.writeMessage(this.currentItem, data);
   data.writeByte(this.nextItemLevel);
   data.writeByte(this._currencyType);
   data.writeInt(this._currencyValue);
   data.writeInt(this._timeToFinishSec);
   data.writeInt(this.professionXpGain);
   data.writeByte(this.neededProfessionLevel);
   data.writeInt(this._sortingIndex);
   this.neededMaterials.serialize(data);
 }
예제 #4
0
 public void deserialize(ByteArray data) {
   this.currentItem = component.ClientSocket.readMessage(data, user);
   this.nextItemLevel = data.readByte();
   this._currencyType = data.readByte();
   this._currencyValue = data.readInt();
   this._timeToFinishSec = data.readInt();
   this.professionXpGain = data.readInt();
   this.neededProfessionLevel = data.readByte();
   this._sortingIndex = data.readInt();
   this.neededMaterials.deserialize(data);
 }
 public void serialize(ByteArray data) {
   data.writeBoolean(this._ready);
   data.writeByte(this._type);
 }
 public void deserialize(ByteArray data) {
   this._ready = data.readBoolean();
   this._type = data.readByte();
 }
 public void serialize(ByteArray data) {
   data.writeInt(this.questID);
 }
 public void deserialize(ByteArray data) {
   this.questID = data.readInt();
 }
예제 #9
0
 public void serialize(ByteArray data) {
   data.writeShort(this.harpoonId);
   data.writeInt(this._amount);
 }
예제 #10
0
 public void deserialize(ByteArray data) {
   this.harpoonId = data.readShort();
   this._amount = data.readInt();
 }
예제 #11
0
 public void deserialize(ByteArray data) {
   this._userId = data.readInt();
   this.userName = data.readUTF();
   this._teamId = data.readByte();
 }
 public void serialize(ByteArray data) {
   data.writeByte(this.bonusMapId);
 }
 public void deserialize(ByteArray data) {
   this.bonusMapId = data.readByte();
 }
 public void serialize(ByteArray data) {
   data.writeShort(this._itemId);
 }
 public void deserialize(ByteArray data) {
   this._itemId = data.readShort();
 }
예제 #16
0
 public void deserialize(ByteArray data) {
   this.groupUserId = data.readInt();
 }
예제 #17
0
 public void serialize(ByteArray data) {
   data.writeInt(this.groupUserId);
 }
예제 #18
0
 public void serialize(ByteArray data) {
   data.writeInt(this._userId);
   data.writeUTF(this.userName);
   data.writeByte(this._teamId);
 }