Skip to content

Commit c8fa39d

Browse files
author
HolterPhylo
committed
Updated reference to type (not typed)
1 parent 66ce270 commit c8fa39d

File tree

3 files changed

+5
-16
lines changed

3 files changed

+5
-16
lines changed

MBINCompiler/Source/CommandLineOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ internal set {
160160

161161
new Option { longName = "stream", description = "Enable sending MXML to Console." },
162162

163-
new Option { longName = "typed", description = "Enable typed information in MXML." },
163+
new Option { longName = "typed", description = "Enable type information in MXML." },
164164
};
165165

166166
public static readonly List<Option> OPTIONS_LIST = new List<Option> {

libMBIN/Source/MXML/MXmlFile.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,12 @@ public static MXmlData ReadMXmlDataFromString(string xml)
8686
}
8787
}
8888

89-
///// <summary>
90-
///// Writes the NMSTemplate object to an .mxml file.
91-
///// </summary>
92-
///// <param name="outputpath">The location to write the .mxml file.</param>
93-
///// <param name="hideVersionInfo">version info is written to the MXML file.</param>
94-
//public static string WriteTemplate(NMSTemplate template) => WriteTemplate(template, false);
9589
/// <summary>
9690
/// Writes the NMSTemplate object to an .mxml file.
9791
/// </summary>
9892
/// <param name="outputpath">The location to write the .mxml file.</param>
9993
/// <param name="hideVersionInfo">If true, version info is not written to the MXML file.</param>
100-
/// <param name="includeTypeInfo">If true, typed info is written to the MXML file.</param>
94+
/// <param name="includeTypeInfo">If true, type info is written to the MXML file.</param>
10195
public static string WriteTemplate(NMSTemplate template, bool hideVersionInfo, bool includeTypeInfo)
10296
{
10397
var origCulture = Thread.CurrentThread.CurrentCulture;

libMBIN/Source/Template/NMSTemplate.cs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ public byte[] SerializeBytes() {
11931193
/// <param name="settings">The settings of the field.</param>
11941194
/// <param name="value">The value of the field.</param>
11951195
/// <param name="isField">NOT USED.</param>
1196-
/// <param name="IncludeTypeInfo">If true, typed info is written to the MXML file.</param>
1196+
/// <param name="IncludeTypeInfo">If true, type info is written to the MXML file.</param>
11971197
public MXmlBase SerializeMXmlValue(Type fieldType, FieldInfo field, NMSAttribute settings, object value, bool isField = true, bool IncludeTypeInfo = false)
11981198
{
11991199
string t = fieldType.Name;
@@ -1486,7 +1486,7 @@ private static int GetArrayLength( string fieldName, NMSAttribute settings ) {
14861486
/// </summary>
14871487
/// <param name="isChildTemplate">If true, </param>
14881488
/// <param name="isGenericTemplate">If true, </param>
1489-
/// <param name="IncludeTypeInfo">If true, typed info is written to the MXML file.</param>
1489+
/// <param name="IncludeTypeInfo">If true, type info is written to the MXML file.</param>
14901490
public MXmlBase SerializeMXml(bool isChildTemplate, bool isGenericTemplate = false, bool IncludeTypeInfo = false) {
14911491
Type type = GetType();
14921492
string typeName = type.Name != "NMSString0x20A" ? type.Name : "NMSString0x20";
@@ -1827,17 +1827,12 @@ public void WriteToMbin(string outputpath)
18271827
}
18281828
}
18291829

1830-
///// <summary>
1831-
///// Writes the NMSTemplate object to an .mxml file.
1832-
///// </summary>
1833-
///// <param name="outputpath">The location to write the .mxml file.</param>
1834-
//public void WriteToMxml(string outputpath) => WriteToMxml(outputpath, false);
18351830
/// <summary>
18361831
/// Writes the NMSTemplate object to an .mxml file.
18371832
/// </summary>
18381833
/// <param name="outputpath">The location to write the .mxml file.</param>
18391834
/// <param name="hideVersionInfo">If true, version info is not written to the MXML file.</param>
1840-
/// <param name="IncludeTypeInfo">If true, typed info is written to the MXML file.</param>
1835+
/// <param name="IncludeTypeInfo">If true, type info is written to the MXML file.</param>
18411836
public void WriteToMxml(string outputpath, bool hideVersionInfo, bool IncludeTypeInfo)
18421837
{
18431838
var data = MXmlFile.WriteTemplate(this, hideVersionInfo, IncludeTypeInfo);

0 commit comments

Comments
 (0)