示例#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();
 }
 public void serialize(ByteArray data) {
   data.writeShort(this.harpoonId);
   data.writeInt(this._amount);
 }
 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);
 }