public override void Serialize(LittleEndianWriter writer) { writer.WriteString(title, 128); writer.WriteString(text, 128); writer.WriteString(imagePath, 128); writer.WriteByte((byte)command); writer.WriteInt((int)base.netId); }
public override void Serialize(LittleEndianWriter writer) { Position.Serialize(writer); writer.WriteString(MinimapIcon, 64); writer.WriteByte(CampIndex); writer.WriteByte((byte)AudioVOComponentRevealEvent); writer.WriteByte((byte)TeamSide); writer.WriteInt(TimerType); writer.WriteFloat(Expire); }
public override void Serialize(LittleEndianWriter writer) { writer.WriteUInt(netId); writer.WriteByte((byte)netNodeId); position.Serialize(writer); groupPosition.Serialize(writer); faceDirectionPosition.Serialize(writer); writer.WriteString(name, 64); writer.WriteString(skinName, 64); writer.WriteString(uniqueName, 64); writer.WriteString(spawnAnimationName, 64); writer.WriteUInt((uint)teamId); writer.WriteInt(damageBonus); writer.WriteInt(healthBonus); writer.WriteUInt((uint)roamState); writer.WriteInt(groupNumber); writer.WriteInt(buffSide); writer.WriteInt(revealEvent); writer.WriteInt(initialLevel); writer.WriteFloat(spawnDuration); writer.WriteFloat(spawnTime); writer.WriteByte(BehaviorTree); writer.WriteFixedStringLast(AIScript, 32); }
public override void Serialize(LittleEndianWriter writer) { writer.WriteByte((byte)0); writer.WriteByte((byte)0x00); writer.WriteByte((byte)0x02); writer.WriteByte((byte)0x00); writer.WriteByte((byte)0x00); writer.WriteByte((byte)0x00); writer.WriteString("BlindMonkQTwoDash"); writer.WriteByte((byte)0x00); return; byte bitfield = 0; bitfield |= (byte)((byte)spellSlot & 0x3F); if (isSummonerSpell) { bitfield |= 0x40; } writer.WriteByte(bitfield); ChangeSpellDataExtension.WriteChangeSpellData(writer, changeSpellData); changeSpellData.Serialize(writer); }