Esempio n. 1
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);
 }
Esempio n. 2
0
 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);
 }
Esempio n. 5
0
 public void serialize(ByteArray data) {
   data.writeInt(this._userId);
   data.writeUTF(this.userName);
   data.writeByte(this._teamId);
 }