本文整理汇总了C#中ResourceDataWriter.WriteBlock方法的典型用法代码示例。如果您正苦于以下问题:C# ResourceDataWriter.WriteBlock方法的具体用法?C# ResourceDataWriter.WriteBlock怎么用?C# ResourceDataWriter.WriteBlock使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ResourceDataWriter
的用法示例。
在下文中一共展示了ResourceDataWriter.WriteBlock方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.Unknown_0h);
writer.Write(this.Unknown_4h);
writer.Write(this.cnt1);
writer.Write(this.Unknown_Ch);
writer.WriteBlock(this.Data);
}
示例2: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.Unknown_0h);
writer.Endianess = Endianess.BigEndian;
writer.Write(this.DataLength);
writer.Endianess = Endianess.LittleEndian;
writer.WriteBlock(Data);
}
示例3: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.WriteBlock(AABB_Max);
writer.WriteBlock(AABB_Min);
}
示例4: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
base.Write(writer, parameters);
// update structure data
this.p1 = (ulong)(this.p1data != null ? this.p1data.Position : 0);
this.c1 = (ushort)(this.p1data != null ? this.p1data.Count : 0);
// write structure data
writer.Write(this.p1);
writer.Write(this.c1);
writer.Write(this.c2);
writer.Write(this.Unknown_1Ch);
writer.Write(this.Unknown_20h);
writer.Write(this.Unknown_24h);
writer.Write(this.Unknown_28h);
writer.Write(this.Unknown_2Ch);
writer.WriteBlock(this.emb1);
writer.Write(this.Unknown_C0h);
writer.Write(this.Unknown_C4h);
writer.Write(this.Unknown_C8h);
writer.Write(this.Unknown_CCh);
writer.Write(this.Unknown_D0h);
writer.Write(this.Unknown_D4h);
writer.Write(this.Unknown_D8h);
writer.Write(this.Unknown_DCh);
writer.Write(this.Unknown_E0h);
writer.Write(this.Unknown_E4h);
writer.Write(this.Unknown_E8h);
writer.Write(this.Unknown_ECh);
}
示例5: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.Unknown_0h);
writer.Write(this.Unknown_4h);
writer.Write(this.Unknown_8h);
writer.Write(this.Unknown_Ch);
writer.Write(this.Unknown_10h);
writer.Write(this.Unknown_14h);
writer.Write(this.Unknown_18h);
writer.Write(this.Unknown_1Ch);
writer.Write(this.Unknown_20h);
writer.Write(this.Unknown_24h);
writer.Write(this.Unknown_28h);
writer.Write(this.Unknown_2Ch);
writer.Write(this.Unknown_30h);
writer.Write(this.Unknown_34h);
writer.Write(this.Unknown_38h);
writer.Write(this.Unknown_3Ch);
writer.Write(this.Unknown_40h);
writer.Write(this.Unknown_44h);
writer.Write(this.Unknown_48h);
writer.Write(this.Unknown_4Ch);
writer.Write(this.Unknown_50h);
writer.Write(this.Unknown_54h);
writer.Write(this.Unknown_58h);
writer.Write(this.Unknown_5Ch);
writer.Write(this.Unknown_60h);
writer.Write(this.Unknown_64h);
writer.Write(this.Unknown_68h);
writer.Write(this.Unknown_6Ch);
writer.Write(this.Unknown_70h);
writer.Write(this.Unknown_74h);
writer.Write(this.Unknown_78h);
writer.Write(this.Unknown_7Ch);
writer.WriteBlock(this.Name);
writer.Write(this.Unknown_A0h);
writer.Write(this.Unknown_A4h);
writer.Write(this.Unknown_A8h);
writer.Write(this.Unknown_ACh);
}
示例6: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
this.Unknown_0h_Pointer = (ulong)(this.Unknown_0h_Data != null ? this.Unknown_0h_Data.Position : 0);
this.Count1 = (uint)(this.Unknown_0h_Data != null ? this.Unknown_0h_Data.Count : 0);
this.Unknown_70h_Pointer = (ulong)(this.Unknown_70h_Data != null ? this.Unknown_70h_Data.Position : 0);
this.Count3 = (ushort)(this.Unknown_70h_Data != null ? this.Unknown_70h_Data.Count : 0);
// write structure data
writer.Write(this.Unknown_0h_Pointer);
writer.Write(this.Count1);
writer.Write(this.Count2);
writer.Write(this.Unknown_10h);
writer.Write(this.Unknown_14h);
writer.Write(this.Unknown_18h);
writer.Write(this.Unknown_1Ch);
writer.WriteBlock(this.Unknown_20h);
writer.WriteBlock(this.Unknown_30h);
writer.WriteBlock(this.Unknown_40h);
writer.WriteBlock(this.Unknown_50h);
writer.WriteBlock(this.Unknown_60h);
writer.Write(this.Unknown_70h_Pointer);
writer.Write(this.Count3);
writer.Write(this.Count4);
writer.Write(this.Unknown_7Ch);
}
示例7: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
this.NamePointer = (ulong)(this.Name != null ? this.Name.Position : 0);
this.p4 = (ulong)(this.p4data != null ? this.p4data.Position : 0);
//this.c1 = (ushort)(this.p4data != null ? this.p4data.Count : 0);
this.p5 = (ulong)(this.p5data != null ? this.p5data.Position : 0);
//this.c3 = (ushort)(this.p5data != null ? this.p5data.Count : 0);
this.p6 = (ulong)(this.p6data != null ? this.p6data.Position : 0);
//this.c5 = (ushort)(this.p6data != null ? this.p6data.Count : 0);
this.p7 = (ulong)(this.p7data != null ? this.p7data.Position : 0);
//this.c7a = (ushort)(this.p7data != null ? this.p7data.Count : 0);
this.p8 = (ulong)(this.p8data != null ? this.p8data.Position : 0);
//this.c8 = (ushort)(this.p8data != null ? this.p8data.Count : 0);
this.pxx = (ulong)(this.pxxdata != null ? this.pxxdata.Position : 0);
//this.cxx1 = (ushort)(this.pxxdata != null ? this.pxxdata.Count : 0);
this.p9 = (ulong)(this.p9data != null ? this.p9data.Position : 0);
this.p10 = (ulong)(this.p10data != null ? this.p10data.Position : 0);
this.p11 = (ulong)(this.p11data != null ? this.p11data.Position : 0);
//this.c11a = (ushort)(this.p11data != null ? this.p11data.Count : 0);
this.p12 = (ulong)(this.p12data != null ? this.p12data.Position : 0);
//this.c12a = (ushort)(this.p12data != null ? this.p12data.Count : 0);
// write structure data
writer.Write(this.VFT);
writer.Write(this.Unknown_4h);
writer.Write(this.Unknown_8h);
writer.Write(this.Unknown_Ch);
writer.Write(this.Unknown_10h);
writer.Write(this.Unknown_14h);
writer.Write(this.Unknown_18h);
writer.Write(this.Unknown_1Ch);
writer.WriteBlock(this.emb1);
writer.WriteBlock(this.emb2);
writer.Write(this.Unknown_100h);
writer.Write(this.Unknown_104h);
writer.Write(this.Unknown_108h);
writer.Write(this.Unknown_10Ch);
writer.Write(this.Unknown_110h);
writer.Write(this.Unknown_114h);
writer.Write(this.Unknown_118h);
writer.Write(this.Unknown_11Ch);
writer.Write(this.NamePointer);
writer.Write(this.p4);
writer.Write(this.c1);
writer.Write(this.c2);
writer.Write(this.Unknown_134h);
writer.Write(this.p5);
writer.Write(this.c3);
writer.Write(this.c4);
writer.Write(this.Unknown_144h);
writer.Write(this.p6);
writer.Write(this.c5);
writer.Write(this.c6);
writer.Write(this.Unknown_154h);
writer.Write(this.p7);
writer.Write(this.c7a);
writer.Write(this.c7b);
writer.Write(this.Unknown_164h);
writer.Write(this.p8);
writer.Write(this.c8);
writer.Write(this.c9);
writer.Write(this.Unknown_174h);
writer.Write(this.Unknown_178h);
writer.Write(this.Unknown_17Ch);
writer.Write(this.Unknown_180h);
writer.Write(this.Unknown_184h);
writer.Write(this.pxx);
writer.Write(this.cxx1);
writer.Write(this.cxx2);
writer.Write(this.Unknown_194h);
writer.Write(this.Unknown_198h);
writer.Write(this.Unknown_19Ch);
writer.Write(this.Unknown_1A0h);
writer.Write(this.Unknown_1A4h);
writer.Write(this.Unknown_1A8h);
writer.Write(this.Unknown_1ACh);
writer.Write(this.VFTx3);
writer.Write(this.Unknown_1B4h);
writer.Write(this.p9);
writer.Write(this.p10);
writer.Write(this.Unknown_1C8h);
writer.Write(this.Unknown_1CCh);
writer.Write(this.Unknown_1D0h);
writer.Write(this.Unknown_1D4h);
writer.Write(this.VFTx4);
writer.Write(this.Unknown_1DCh);
writer.Write(this.Unknown_1E0h);
writer.Write(this.Unknown_1E4h);
writer.Write(this.Unknown_1E8h);
writer.Write(this.Unknown_1ECh);
writer.Write(this.p11);
writer.Write(this.c11a);
writer.Write(this.c11b);
writer.Write(this.Unknown_1FCh);
writer.Write(this.Unknown_200h);
writer.Write(this.Unknown_204h);
//.........这里部分代码省略.........
示例8: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
base.Write(writer, parameters);
// update structure data
this.p1 = (ulong)(this.p1data != null ? this.p1data.Position : 0);
this.c1 = (ushort)(this.p1data != null ? this.p1data.Count : 0);
// write structure data
writer.Write(this.p1);
writer.Write(this.c1);
writer.Write(this.c2);
writer.Write(this.Unknown_1Ch);
writer.Write(this.Unknown_20h);
writer.Write(this.Unknown_24h);
writer.Write(this.Unknown_28h);
writer.Write(this.Unknown_2Ch);
writer.WriteBlock(this.emb1);
writer.WriteBlock(this.emb2);
writer.Write(this.Unknown_150h);
writer.Write(this.Unknown_154h);
writer.Write(this.Unknown_158h);
writer.Write(this.Unknown_15Ch);
writer.Write(this.Unknown_160h);
writer.Write(this.Unknown_164h);
writer.Write(this.Unknown_168h);
writer.Write(this.Unknown_16Ch);
writer.Write(this.Unknown_170h);
writer.Write(this.Unknown_174h);
writer.Write(this.Unknown_178h);
writer.Write(this.Unknown_17Ch);
}
示例9: Write
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update pointers...
foreach (var f in Parameters)
if (f.Data != null)
f.DataPointer = (ulong)f.Data.Position;
else
f.DataPointer = 0;
// write parameter infos
foreach (var f in Parameters)
writer.WriteBlock(f);
// write vector data
foreach (var f in Parameters)
{
if (f.DataType != 0)
writer.WriteBlock(f.Data);
}
// write hashes
foreach (var h in Hashes)
writer.Write(h);
}
示例10: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
base.Write(writer, parameters);
// update structure data
this.p1 = (ulong)(this.p1data != null ? this.p1data.Position : 0);
this.c1 = (ushort)(this.p1data != null ? this.p1data.Count : 0);
// write structure data
writer.Write(this.p1);
writer.Write(this.c1);
writer.Write(this.c2);
writer.Write(this.Unknown_1Ch);
writer.Write(this.Unknown_20h);
writer.Write(this.Unknown_24h);
writer.Write(this.Unknown_28h);
writer.Write(this.Unknown_2Ch);
writer.WriteBlock(this.emb1);
writer.WriteBlock(this.emb2);
writer.WriteBlock(this.emb3);
writer.WriteBlock(this.emb4);
writer.WriteBlock(this.emb5);
writer.WriteBlock(this.emb6);
writer.WriteBlock(this.emb7);
writer.WriteBlock(this.emb8);
writer.WriteBlock(this.emb9);
writer.Write(this.Unknown_540h);
writer.Write(this.Unknown_544h);
writer.Write(this.Unknown_548h);
writer.Write(this.Unknown_54Ch);
}
示例11: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
this.NamePointer = (ulong)(this.Name != null ? this.Name.Position : 0);
this.p2 = (ulong)(this.p2data != null ? this.p2data.Position : 0);
this.p3 = (ulong)(this.p3data != null ? this.p3data.Position : 0);
this.p4 = (ulong)(this.p4data != null ? this.p4data.Position : 0);
this.pref = (ulong)(this.refs != null ? this.refs.Position : 0);
//this.refcnt2 = (ushort)(this.refs != null ? this.refs.Count : 0);
// write structure data
writer.Write(this.VFT);
writer.Write(this.Unknown_4h);
writer.Write(this.Unknown_8h);
writer.Write(this.Unknown_Ch);
writer.Write(this.Unknown_10h);
writer.Write(this.Unknown_14h);
writer.Write(this.Unknown_18h);
writer.Write(this.Unknown_1Ch);
writer.Write(this.NamePointer);
writer.Write(this.Unknown_28h);
writer.Write(this.Unknown_2Ch);
writer.Write(this.Unknown_30h);
writer.Write(this.Unknown_34h);
writer.Write(this.p2);
writer.Write(this.Unknown_40h);
writer.Write(this.Unknown_44h);
writer.Write(this.p3);
writer.Write(this.Unknown_50h);
writer.Write(this.Unknown_54h);
writer.Write(this.p4);
writer.Write(this.Unknown_60h);
writer.Write(this.Unknown_64h);
writer.Write(this.Unknown_68h);
writer.Write(this.Unknown_6Ch);
writer.Write(this.Unknown_70h);
writer.Write(this.Unknown_74h);
writer.WriteBlock(this.emb1);
writer.WriteBlock(this.emb2);
writer.WriteBlock(this.emb3);
writer.WriteBlock(this.emb4);
writer.WriteBlock(this.emb5);
writer.WriteBlock(this.emb6);
writer.WriteBlock(this.emb7);
writer.WriteBlock(this.emb8);
writer.WriteBlock(this.emb9);
writer.WriteBlock(this.emb10);
writer.Write(this.pref);
writer.Write(this.refcnt1);
writer.Write(this.refcnt2);
writer.Write(this.Unknown_624h);
writer.Write(this.Unknown_628h);
writer.Write(this.Unknown_62Ch);
}
示例12: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
base.Write(writer, parameters);
// update structure data
this.ShaderGroupPointer = (ulong)(this.ShaderGroup != null ? this.ShaderGroup.Position : 0);
this.SkeletonPointer = (ulong)(this.Skeleton != null ? this.Skeleton.Position : 0);
this.DrawableModels1Pointer = (ulong)(this.DrawableModels1 != null ? this.DrawableModels1.Position : 0);
this.DrawableModels2Pointer = (ulong)(this.DrawableModels2 != null ? this.DrawableModels2.Position : 0);
this.DrawableModels3Pointer = (ulong)(this.DrawableModels3 != null ? this.DrawableModels3.Position : 0);
this.DrawableModels4Pointer = (ulong)(this.DrawableModels4 != null ? this.DrawableModels4.Position : 0);
this.Unknown_90h_Pointer = (ulong)(this.Unknown_90h_Data != null ? this.Unknown_90h_Data.Position : 0);
this.DrawableModelsXPointer = (ulong)(this.DrawableModelsX != null ? this.DrawableModelsX.Position : 0);
// write structure data
writer.Write(this.ShaderGroupPointer);
writer.Write(this.SkeletonPointer);
writer.WriteBlock(this.Unknown_20h);
writer.WriteBlock(this.Unknown_30h);
writer.WriteBlock(this.Unknown_40h);
writer.Write(this.DrawableModels1Pointer);
writer.Write(this.DrawableModels2Pointer);
writer.Write(this.DrawableModels3Pointer);
writer.Write(this.DrawableModels4Pointer);
writer.Write(this.Unknown_70h);
writer.Write(this.Unknown_74h);
writer.Write(this.Unknown_78h);
writer.Write(this.Unknown_7Ch);
writer.Write(this.Unknown_80h);
writer.Write(this.Unknown_84h);
writer.Write(this.Unknown_88h);
writer.Write(this.Unknown_8Ch);
writer.Write(this.Unknown_90h_Pointer);
writer.Write(this.Unknown_98h);
writer.Write(this.Unknown_9Ch);
writer.Write(this.DrawableModelsXPointer);
}
示例13: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
this.NamePointer = (ulong)(this.Name != null ? this.Name.Position : 0);
this.p3 = (ulong)(this.p3data != null ? this.p3data.Position : 0);
//this.c3b = (ushort)(this.p3data != null ? this.p3data.Count : 0);
this.p4 = (ulong)(this.p4data != null ? this.p4data.Position : 0);
this.pref = (ulong)(this.refs != null ? this.refs.Position : 0);
//this.refcnt2 = (ushort)(this.refs != null ? this.refs.Count : 0);
// write structure data
writer.Write(this.VFT);
writer.Write(this.Unknown_4h);
writer.Write(this.Unknown_8h);
writer.Write(this.Unknown_Ch);
writer.Write(this.Unknown_10h);
writer.Write(this.Unknown_14h);
writer.Write(this.Unknown_18h);
writer.Write(this.Unknown_1Ch);
writer.Write(this.NamePointer);
writer.Write(this.Unknown_28h);
writer.Write(this.Unknown_2Ch);
writer.Write(this.Unknown_30h);
writer.Write(this.Unknown_34h);
writer.Write(this.p3);
writer.Write(this.c3a);
writer.Write(this.c3b);
writer.Write(this.Unknown_44h);
writer.Write(this.p4);
writer.Write(this.Unknown_50h);
writer.Write(this.Unknown_54h);
writer.Write(this.Unknown_58h);
writer.Write(this.Unknown_5Ch);
writer.Write(this.Unknown_60h);
writer.Write(this.Unknown_64h);
writer.Write(this.Unknown_68h);
writer.Write(this.Unknown_6Ch);
writer.Write(this.Unknown_70h);
writer.Write(this.Unknown_74h);
writer.Write(this.Unknown_78h);
writer.Write(this.Unknown_7Ch);
writer.Write(this.Unknown_80h);
writer.Write(this.Unknown_84h);
writer.Write(this.Unknown_88h);
writer.Write(this.Unknown_8Ch);
writer.Write(this.Unknown_90h);
writer.Write(this.Unknown_94h);
writer.Write(this.Unknown_98h);
writer.Write(this.Unknown_9Ch);
writer.Write(this.Unknown_A0h);
writer.Write(this.Unknown_A4h);
writer.Write(this.Unknown_A8h);
writer.Write(this.Unknown_ACh);
writer.Write(this.Unknown_B0h);
writer.Write(this.Unknown_B4h);
writer.Write(this.Unknown_B8h);
writer.Write(this.Unknown_BCh);
writer.WriteBlock(this.emb1);
writer.WriteBlock(this.emb2);
writer.WriteBlock(this.emb3);
writer.WriteBlock(this.emb4);
writer.WriteBlock(this.emb5);
writer.Write(this.pref);
writer.Write(this.refcnt1);
writer.Write(this.refcnt2);
writer.Write(this.Unknown_39Ch);
writer.Write(this.Unknown_3A0h);
writer.Write(this.Unknown_3A4h);
writer.Write(this.Unknown_3A8h);
writer.Write(this.Unknown_3ACh);
writer.Write(this.Unknown_3B0h);
writer.Write(this.Unknown_3B4h);
writer.Write(this.Unknown_3B8h);
writer.Write(this.Unknown_3BCh);
}
示例14: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
this.pref = (ulong)(this.refs != null ? this.refs.Position : 0);
//this.refcnt2 = (ushort)(this.refs != null ? this.refs.Count : 0);
// write structure data
writer.Write(this.VFT);
writer.Write(this.Unknown_4h);
writer.Write(this.Unknown_8h);
writer.Write(this.Unknown_Ch);
writer.Write(this.Unknown_10h);
writer.Write(this.Unknown_14h);
writer.WriteBlock(this.emb1);
writer.WriteBlock(this.emb2);
writer.WriteBlock(this.emb3);
writer.WriteBlock(this.emb4);
writer.Write(this.Unknown_258h);
writer.Write(this.Unknown_25Ch);
writer.Write(this.pref);
writer.Write(this.refcnt1);
writer.Write(this.refcnt2);
writer.Write(this.Unknown_26Ch);
writer.Write(this.Unknown_270h);
writer.Write(this.Unknown_274h);
writer.Write(this.Unknown_278h);
writer.Write(this.Unknown_27Ch);
}
示例15: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
this.Unknown_20h_Pointer = (ulong)(this.Unknown_20h_Data != null ? this.Unknown_20h_Data.Position : 0);
this.Unknown_28h_Pointer = (ulong)(this.Unknown_28h_Data != null ? this.Unknown_28h_Data.Position : 0);
this.GroupNamesPointer = (ulong)(this.GroupNames != null ? this.GroupNames.Position : 0);
this.GroupsPointer = (ulong)(this.Groups != null ? this.Groups.Position : 0);
this.ChildrenPointer = (ulong)(this.Children != null ? this.Children.Position : 0);
this.Archetype1Pointer = (ulong)(this.Archetype1 != null ? this.Archetype1.Position : 0);
this.Archetype2Pointer = (ulong)(this.Archetype2 != null ? this.Archetype2.Position : 0);
this.BoundPointer = (ulong)(this.Bound != null ? this.Bound.Position : 0);
this.Unknown_F0h_Pointer = (ulong)(this.Unknown_F0h_Data != null ? this.Unknown_F0h_Data.Position : 0);
this.Unknown_F8h_Pointer = (ulong)(this.Unknown_F8h_Data != null ? this.Unknown_F8h_Data.Position : 0);
this.Unknown_100h_Pointer = (ulong)(this.Unknown_100h_Data != null ? this.Unknown_100h_Data.Position : 0);
this.Unknown_108h_Pointer = (ulong)(this.Unknown_108h_Data != null ? this.Unknown_108h_Data.Position : 0);
this.Unknown_110h_Pointer = (ulong)(this.Unknown_110h_Data != null ? this.Unknown_110h_Data.Position : 0);
//this.vvv1 = (byte)(this.pxxxxx_2data != null ? this.pxxxxx_2data.Count : 0);
//this.vvv2 = (byte)(this.pxxxxx_3data != null ? this.pxxxxx_3data.Count : 0);
//this.GroupsCount = (byte)(this.Groups != null ? this.Groups.Count : 0);
//this.ChildrenCount = (byte)(this.p1data != null ? this.p1data.Count : 0);
// write structure data
writer.Write(this.VFT);
writer.Write(this.Unknown_4h);
writer.Write(this.Unknown_8h);
writer.Write(this.Unknown_Ch);
writer.Write(this.Unknown_10h);
writer.Write(this.Unknown_14h);
writer.Write(this.Unknown_18h);
writer.Write(this.Unknown_1Ch);
writer.Write(this.Unknown_20h_Pointer);
writer.Write(this.Unknown_28h_Pointer);
writer.WriteBlock(this.Unknown_30h);
writer.WriteBlock(this.Unknown_40h);
writer.WriteBlock(this.Unknown_50h);
writer.WriteBlock(this.Unknown_60h);
writer.WriteBlock(this.Unknown_70h);
writer.WriteBlock(this.Unknown_80h);
writer.WriteBlock(this.Unknown_90h);
writer.WriteBlock(this.Unknown_A0h);
writer.WriteBlock(this.Unknown_B0h);
writer.Write(this.GroupNamesPointer);
writer.Write(this.GroupsPointer);
writer.Write(this.ChildrenPointer);
writer.Write(this.Archetype1Pointer);
writer.Write(this.Archetype2Pointer);
writer.Write(this.BoundPointer);
writer.Write(this.Unknown_F0h_Pointer);
writer.Write(this.Unknown_F8h_Pointer);
writer.Write(this.Unknown_100h_Pointer);
writer.Write(this.Unknown_108h_Pointer);
writer.Write(this.Unknown_110h_Pointer);
writer.Write(this.Count1);
writer.Write(this.Count2);
writer.Write(this.GroupsCount);
writer.Write(this.Unknown_11Bh);
writer.Write(this.Unknown_11Ch);
writer.Write(this.ChildrenCount);
writer.Write(this.Count3);
writer.Write(this.Unknown_11Fh);
writer.Write(this.Unknown_120h);
writer.Write(this.Unknown_124h);
writer.Write(this.Unknown_128h);
writer.Write(this.Unknown_12Ch);
}