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