Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions libMBIN/Source/Template/NMSTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,10 @@ public MXmlBase SerializeMXmlValue(Type fieldType, FieldInfo field, NMSAttribute
GcSeed seed = (GcSeed)value;
valueString = (seed.Seed == 0 && !seed.UseSeedValue) ? "NONE" : seed.Seed.ToString();
break;
case "GcResource":
// Don't return anything. We won't write this to MXML since the data is only used internally
// and isn't serialized by the game either.
return null;
case "Colour32":
// Handle the Colour32 explicitly since we want to write floats to the MXML, not ints.
Colour colour = new Colour((Colour32)value);
Expand Down
Loading