I noticed a minor oddity with the new LinkableNMSTemplate class (present in TkAttachmentData > Components)
If you omit Linked property, instead of re-adding it with a default value like other string properties elsewhere, the process throws an error... it's different behavior from other properties.
ERR INFO: at libMBIN.NMSTemplate.SerializeValue(BinaryWriter writer, Type fieldType, Object fieldData, NMSAttribute settings, FieldInfo field, List1& additionalData, Int32& addtDataIndex, UInt32 listEnding, Byte paddingByte) at libMBIN.NMSTemplate.AppendToWriter(BinaryWriter writer, List1& additionalData, Int32& addtDataIndex, Type parent, UInt32 listEnding, Byte paddingByte)
at libMBIN.NMSTemplate.SerializeValue(BinaryWriter writer, Type fieldType, Object fieldData, NMSAttribute settings, FieldInfo field, List1& additionalData, Int32& addtDataIndex, UInt32 listEnding, Byte paddingByte) at libMBIN.NMSTemplate.SerializeList(BinaryWriter writer, IList list, Int64 listHeaderPosition, List1& additionalData, Int32 addtDataIndex, UInt32 listEnding, Byte paddingByte, Boolean writingHashMap)
at libMBIN.NMSTemplate.SerializeBytes()
at libMBIN.MBINFile.SetData(NMSTemplate template)
at MBINCompiler.Commands.Convert.ConvertEXML(String inputPath, FileStream fIn, MemoryStream msOut, String fileOut)
I noticed a minor oddity with the new
LinkableNMSTemplate
class (present inTkAttachmentData > Components
) If you omitLinked
property, instead of re-adding it with a default value like other string properties elsewhere, the process throws an error... it's different behavior from other properties.ERR INFO: at libMBIN.NMSTemplate.SerializeValue(BinaryWriter writer, Type fieldType, Object fieldData, NMSAttribute settings, FieldInfo field, List
1& additionalData, Int32& addtDataIndex, UInt32 listEnding, Byte paddingByte) at libMBIN.NMSTemplate.AppendToWriter(BinaryWriter writer, List
1& additionalData, Int32& addtDataIndex, Type parent, UInt32 listEnding, Byte paddingByte) at libMBIN.NMSTemplate.SerializeValue(BinaryWriter writer, Type fieldType, Object fieldData, NMSAttribute settings, FieldInfo field, List1& additionalData, Int32& addtDataIndex, UInt32 listEnding, Byte paddingByte) at libMBIN.NMSTemplate.SerializeList(BinaryWriter writer, IList list, Int64 listHeaderPosition, List
1& additionalData, Int32 addtDataIndex, UInt32 listEnding, Byte paddingByte, Boolean writingHashMap) at libMBIN.NMSTemplate.SerializeBytes() at libMBIN.MBINFile.SetData(NMSTemplate template) at MBINCompiler.Commands.Convert.ConvertEXML(String inputPath, FileStream fIn, MemoryStream msOut, String fileOut)