/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); if (this.datas != null) { stream.writeLen(this.datas.size()); if (!this.datas.isEmpty()) { ActivityData[] datasVValues = this.datas.getValues(); for (int datasVI = datasVValues.Length - 1; datasVI >= 0; --datasVI) { ActivityData datasV = datasVValues[datasVI]; if (datasV != null) { if (datasV != null) { stream.writeDataFullNotNull(datasV); } else { nullObjError("datasV"); } } } } } else { nullObjError("datas"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); stream.writeInt(this.index); if (this.list != null) { stream.writeLen(this.list.size()); if (!this.list.isEmpty()) { ClientOfflineWorkData[] listVValues = this.list.getValues(); for (int listVI = 0, listVLen = this.list.length(); listVI < listVLen; ++listVI) { ClientOfflineWorkData listV = listVValues[listVI]; if (listV != null) { stream.writeDataFullNotNull(listV); } else { nullObjError("listV"); } } } } else { nullObjError("list"); } stream.writeInt(this.clientRandomSeedIndex); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); if (this.inviter != null) { stream.writeDataFullNotNull(this.inviter); } else { nullObjError("inviter"); } if (this.simpleData != null) { stream.writeBoolean(true); stream.writeDataFullNotNull(this.simpleData); } else { stream.writeBoolean(false); } stream.writeLong(this.time); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); if (this.petDic != null) { stream.writeLen(this.petDic.size()); if (!this.petDic.isEmpty()) { PetUseData[] petDicVValues = this.petDic.getValues(); for (int petDicVI = petDicVValues.Length - 1; petDicVI >= 0; --petDicVI) { PetUseData petDicV = petDicVValues[petDicVI]; if (petDicV != null) { if (petDicV != null) { stream.writeDataFullNotNull(petDicV); } else { nullObjError("petDicV"); } } } } } else { nullObjError("petDic"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); if (this.drivers != null) { stream.writeLen(this.drivers.size()); if (!this.drivers.isEmpty()) { int[] driversVValues = this.drivers.getValues(); for (int driversVI = 0, driversVLen = this.drivers.length(); driversVI < driversVLen; ++driversVI) { int driversV = driversVValues[driversVI]; stream.writeInt(driversV); } } } else { nullObjError("drivers"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); if (this.showData != null) { stream.writeDataFullNotNull(this.showData); } else { nullObjError("showData"); } stream.writeBoolean(this.isOnline); stream.writeLong(this.lastOnlineTime); if (this.location != null) { stream.writeBoolean(true); stream.writeDataFullNotNull(this.location); } else { stream.writeBoolean(false); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); stream.writeInt(this.instanceID); if (this.items != null) { stream.writeLen(this.items.size()); if (!this.items.isEmpty()) { ItemData[] itemsVValues = this.items.getValues(); for (int itemsVI = 0, itemsVLen = this.items.length(); itemsVI < itemsVLen; ++itemsVI) { ItemData itemsV = itemsVValues[itemsVI]; if (itemsV != null) { stream.writeDataFullNotNull(itemsV); } else { nullObjError("itemsV"); } } } } else { nullObjError("items"); } stream.writeLong(this.removeTime); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); stream.writeInt(this.instanceID); stream.writeInt(this.id); if (this.args != null) { float[] argsT = this.args; stream.writeLen(argsT.Length); for (int argsVI = 0, argsVLen = argsT.Length; argsVI < argsVLen; ++argsVI) { float argsV = argsT[argsVI]; stream.writeFloat(argsV); } } else { nullObjError("args"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); stream.writeInt(this.id); stream.writeInt(this.num); stream.writeBoolean(this.isBind); stream.writeLong(this.disableTime); if (this.identity != null) { stream.writeBoolean(true); stream.writeDataFullNotNull(this.identity); } else { stream.writeBoolean(false); } stream.writeBoolean(this.hasRedPoint); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); stream.writeInt(this.id); if (this.cache != null) { stream.writeBoolean(true); stream.writeDataFullNotNull(this.cache); } else { stream.writeBoolean(false); } if (this.equips != null) { stream.writeDataFullNotNull(this.equips); } else { nullObjError("equips"); } stream.writeInt(this.mIndex); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); if (this.playerIDList != null) { stream.writeLen(this.playerIDList.size()); if (!this.playerIDList.isEmpty()) { long[] playerIDListVValues = this.playerIDList.getValues(); for (int playerIDListVI = 0, playerIDListVLen = this.playerIDList.length(); playerIDListVI < playerIDListVLen; ++playerIDListVI) { long playerIDListV = playerIDListVValues[playerIDListVI]; stream.writeLong(playerIDListV); } } } else { nullObjError("playerIDList"); } stream.writeInt(this.type); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); if (this.records != null) { stream.writeLen(this.records.size()); if (!this.records.isEmpty()) { ClientOfflineWorkData[] recordsVValues = this.records.getValues(); for (int recordsVI = 0, recordsVLen = this.records.length(); recordsVI < recordsVLen; ++recordsVI) { ClientOfflineWorkData recordsV = recordsVValues[recordsVI]; if (recordsV != null) { stream.writeDataFullNotNull(recordsV); } else { nullObjError("recordsV"); } } } } else { nullObjError("records"); } stream.writeInt(this.clientRandomSeedIndex); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); stream.writeInt(this.type); stream.writeInt(this.targetInstanceID); if (this.pos != null) { stream.writeBoolean(true); this.pos.writeBytesFull(stream); } else { stream.writeBoolean(false); } if (this.dir != null) { stream.writeBoolean(true); this.dir.writeBytesFull(stream); } else { stream.writeBoolean(false); } stream.writeInt(this.arg); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); if (this.itemPriceDic != null) { stream.writeLen(this.itemPriceDic.size()); if (!this.itemPriceDic.isEmpty()) { int itemPriceDicKFreeValue = this.itemPriceDic.getFreeValue(); int[] itemPriceDicKKeys = this.itemPriceDic.getKeys(); int[] itemPriceDicVValues = this.itemPriceDic.getValues(); for (int itemPriceDicKI = itemPriceDicKKeys.Length - 1; itemPriceDicKI >= 0; --itemPriceDicKI) { int itemPriceDicK = itemPriceDicKKeys[itemPriceDicKI]; if (itemPriceDicK != itemPriceDicKFreeValue) { int itemPriceDicV = itemPriceDicVValues[itemPriceDicKI]; stream.writeInt(itemPriceDicK); stream.writeInt(itemPriceDicV); } } } } else { nullObjError("itemPriceDic"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); if (this.showData != null) { stream.writeDataFullNotNull(this.showData); } else { nullObjError("showData"); } if (this.chatData != null) { stream.writeDataFullNotNull(this.chatData); } else { nullObjError("chatData"); } stream.writeLong(this.time); stream.writeInt(this.sendIndex); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); stream.writeInt(this.type); if (this.nowPos != null) { stream.writeBoolean(true); this.nowPos.writeBytesFull(stream); } else { stream.writeBoolean(false); } if (this.targetPos != null) { this.targetPos.writeBytesFull(stream); } else { nullObjError("targetPos"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); if (this.funcList != null) { TriggerFuncData[] funcListT = this.funcList; stream.writeLen(funcListT.Length); for (int funcListVI = 0, funcListVLen = funcListT.Length; funcListVI < funcListVLen; ++funcListVI) { TriggerFuncData funcListV = funcListT[funcListVI]; if (funcListV != null) { stream.writeDataFullNotNull(funcListV); } else { nullObjError("funcListV"); } } } else { nullObjError("funcList"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); if (this.value != null) { stream.writeLen(this.value.size()); if (!this.value.isEmpty()) { TriggerObjData[] valueVValues = this.value.getValues(); for (int valueVI = 0, valueVLen = this.value.length(); valueVI < valueVLen; ++valueVI) { TriggerObjData valueV = valueVValues[valueVI]; if (valueV != null) { stream.writeDataFullNotNull(valueV); } else { nullObjError("valueV"); } } } } else { nullObjError("value"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); stream.writeBoolean(this.isAssist); stream.writeBoolean(this.isNecessary); if (this.areaIDList != null) { stream.writeLen(this.areaIDList.size()); if (!this.areaIDList.isEmpty()) { int[] areaIDListVValues = this.areaIDList.getValues(); for (int areaIDListVI = 0, areaIDListVLen = this.areaIDList.length(); areaIDListVI < areaIDListVLen; ++areaIDListVI) { int areaIDListV = areaIDListVValues[areaIDListVI]; stream.writeInt(areaIDListV); } } } else { nullObjError("areaIDList"); } stream.writeInt(this.countryID); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); stream.writeInt(this.version); stream.writeInt(this.subsectionIndex); stream.writeInt(this.subsectionSubIndex); stream.writeLong(this.value); if (this.args != null) { stream.writeBoolean(true); long[] argsT = this.args; stream.writeLen(argsT.Length); for (int argsVI = 0, argsVLen = argsT.Length; argsVI < argsVLen; ++argsVI) { long argsV = argsT[argsVI]; stream.writeLong(argsV); } } else { stream.writeBoolean(false); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); stream.writeInt(this.id); if (this.args != null) { stream.writeBoolean(true); string[] argsT = this.args; stream.writeLen(argsT.Length); for (int argsVI = 0, argsVLen = argsT.Length; argsVI < argsVLen; ++argsVI) { string argsV = argsT[argsVI]; stream.writeUTF(argsV); } } else { stream.writeBoolean(false); } stream.writeLong(this.logTime); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); stream.writeInt(this.currentSkillID); stream.writeInt(this.currentSkillLevel); if (this.currentTarget != null) { stream.writeBoolean(true); stream.writeDataFullNotNull(this.currentTarget); } else { stream.writeBoolean(false); } stream.writeInt(this.currentSkillStep); stream.writeInt(this.currentSkillStepTimePass); stream.writeInt(this.currentSkillBarID); stream.writeInt(this.currentSkillBarTimePass); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); if (this.attributes != null) { stream.writeLen(this.attributes.size()); if (!this.attributes.isEmpty()) { int attributesKFreeValue = this.attributes.getFreeValue(); int[] attributesKKeys = this.attributes.getKeys(); int[] attributesVValues = this.attributes.getValues(); for (int attributesKI = attributesKKeys.Length - 1; attributesKI >= 0; --attributesKI) { int attributesK = attributesKKeys[attributesKI]; if (attributesK != attributesKFreeValue) { int attributesV = attributesVValues[attributesKI]; stream.writeInt(attributesK); stream.writeInt(attributesV); } } } } else { nullObjError("attributes"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); stream.writeInt(this.modelID); if (this.parts != null) { stream.writeLen(this.parts.size()); if (!this.parts.isEmpty()) { int partsKFreeValue = this.parts.getFreeValue(); int[] partsKKeys = this.parts.getKeys(); int[] partsVValues = this.parts.getValues(); for (int partsKI = partsKKeys.Length - 1; partsKI >= 0; --partsKI) { int partsK = partsKKeys[partsKI]; if (partsK != partsKFreeValue) { int partsV = partsVValues[partsKI]; stream.writeInt(partsK); stream.writeInt(partsV); } } } } else { nullObjError("parts"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); if (this.conditions != null) { stream.writeBoolean(true); AuctionQueryConditionData[] conditionsT = this.conditions; stream.writeLen(conditionsT.Length); for (int conditionsVI = 0, conditionsVLen = conditionsT.Length; conditionsVI < conditionsVLen; ++conditionsVI) { AuctionQueryConditionData conditionsV = conditionsT[conditionsVI]; if (conditionsV != null) { stream.writeBoolean(true); stream.writeDataFullNotNull(conditionsV); } else { stream.writeBoolean(false); } } } else { stream.writeBoolean(false); } stream.writeInt(this.page); stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); if (this.nowPos != null) { stream.writeBoolean(true); this.nowPos.writeBytesFull(stream); } else { stream.writeBoolean(false); } if (this.data != null) { stream.writeDataFullNotNull(this.data); } else { nullObjError("data"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); stream.writeLong(this.playerID); stream.writeInt(this.type); if (this.args != null) { stream.writeBoolean(true); int[] argsT = this.args; stream.writeLen(argsT.Length); for (int argsVI = 0, argsVLen = argsT.Length; argsVI < argsVLen; ++argsVI) { int argsV = argsT[argsVI]; stream.writeInt(argsV); } } else { stream.writeBoolean(false); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); stream.writeInt(this.id); if (this.args != null) { TriggerObjData[] argsT = this.args; stream.writeLen(argsT.Length); for (int argsVI = 0, argsVLen = argsT.Length; argsVI < argsVLen; ++argsVI) { TriggerObjData argsV = argsT[argsVI]; if (argsV != null) { stream.writeDataFullNotNull(argsV); } else { nullObjError("argsV"); } } } else { nullObjError("args"); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { stream.startWriteObj(); if (this.identity != null) { stream.writeDataFullNotNull(this.identity); } else { nullObjError("identity"); } if (this.avatar != null) { stream.writeBoolean(true); stream.writeDataFullNotNull(this.avatar); } else { stream.writeBoolean(false); } stream.endWriteObj(); }
/// <summary> /// 写入字节流(完整版) /// </summary> protected override void toWriteBytesFull(BytesWriteStream stream) { base.toWriteBytesFull(stream); stream.startWriteObj(); if (this.role != null) { stream.writeDataFullNotNull(this.role); } else { nullObjError("role"); } if (this.item != null) { stream.writeDataFullNotNull(this.item); } else { nullObjError("item"); } stream.writeInt(this.price); stream.endWriteObj(); }