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);
 }
 public void serialize(ByteArray data) {
   data.writeInt(this.groupUserId);
 }
 public void serialize(ByteArray data) {
   data.writeInt(this.questID);
 }
 public void serialize(ByteArray data) {
   data.writeShort(this.harpoonId);
   data.writeInt(this._amount);
 }
Example #5
0
 public void serialize(ByteArray data) {
   data.writeInt(this._userId);
   data.writeUTF(this.userName);
   data.writeByte(this._teamId);
 }