public override string ToString() { return(Unk01.ToString() + ", " + Unk02.ToString() + ", " + Unk03.ToString() + ", " + Name.ToString() + ", " + Parent.ToString() + ", " + Position.ToString() + ", " + Orientation.ToString() + ", " + BBMin.ToString() + ", " + BBMax.ToString() + ", " + Unk11.ToString() + ", " + Unk12.ToString() + ", " + Unk13.ToString() + ", " + Unk14.ToString()); }
public void WriteXml(StringBuilder sb, int indent) { CacheDatXml.StringTag(sb, indent, "name", CacheDatXml.HashString(Name)); CacheDatXml.StringTag(sb, indent, "parent", CacheDatXml.HashString(Parent)); CacheDatXml.SelfClosingTag(sb, indent, "position " + FloatUtil.GetVector3XmlString(Position)); CacheDatXml.SelfClosingTag(sb, indent, "rotation " + FloatUtil.GetVector4XmlString(Orientation.ToVector4())); CacheDatXml.SelfClosingTag(sb, indent, "bbMin " + FloatUtil.GetVector3XmlString(BBMin)); CacheDatXml.SelfClosingTag(sb, indent, "bbMax " + FloatUtil.GetVector3XmlString(BBMax)); CacheDatXml.ValueTag(sb, indent, "unk01", Unk01.ToString()); CacheDatXml.ValueTag(sb, indent, "unk02", Unk02.ToString()); CacheDatXml.ValueTag(sb, indent, "unk03", Unk03.ToString()); CacheDatXml.ValueTag(sb, indent, "unk11", Unk11.ToString()); CacheDatXml.ValueTag(sb, indent, "unk12", Unk12.ToString()); CacheDatXml.ValueTag(sb, indent, "unk13", Unk13.ToString()); CacheDatXml.ValueTag(sb, indent, "unk14", Unk14.ToString()); }