Output: Don't capitalize True and False for default boolean values
This commit is contained in:
@@ -25,6 +25,8 @@ namespace Il2CppInspector.Reflection {
|
|||||||
get {
|
get {
|
||||||
if (!HasDefaultValue)
|
if (!HasDefaultValue)
|
||||||
return "";
|
return "";
|
||||||
|
if (DefaultValue is bool)
|
||||||
|
return (bool) DefaultValue ? "true" : "false";
|
||||||
if (DefaultValue is string)
|
if (DefaultValue is string)
|
||||||
return $"\"{DefaultValue}\"";
|
return $"\"{DefaultValue}\"";
|
||||||
if (!(DefaultValue is char))
|
if (!(DefaultValue is char))
|
||||||
|
|||||||
Reference in New Issue
Block a user