public void Write(BinaryWriterEx bw) { bw.Write(System.Text.Encoding.ASCII.GetBytes(name)); for (int i = 0; i < 16 - name.Length; i++) { bw.Write((byte)0); } bw.Write(modelOffset); scale.Write(bw); bw.Write(null1); bw.Write(unk1); bw.Write((int)0); bw.Write((int)0); bw.Write((int)0); position.Write(bw); angle.Write(bw); bw.Write(evt); bw.Seek((int)modelOffset + 4, SeekOrigin.Begin); bw.WriteStringFixed(ModelName); }
public void Write(BinaryWriterEx bw, List <UIntPtr> patchTable = null) { position.Write(bw); angle.Write(bw); bw.Write(unk11); bw.Write(unk12); bw.Write(unk2); bw.Write(unk3); bw.Write(pos); bw.Write(unk5); }
public void Write(BinaryWriterEx bw) { position.Write(bw); angle.Write(bw); bw.Write(unk11); bw.Write(unk12); bw.Write(unk2); bw.Write(unk3); bw.Write(pos); bw.Write(unk5); }
public void Write(BinaryWriterEx bw) { Position.Write(bw); Angle.Write(bw); }