mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Merge pull request #1708 from MineGame159/structured-data
Fix StructuredData.ObjectToString()
This commit is contained in:
commit
fade92d658
1 changed files with 4 additions and 4 deletions
|
@ -1190,17 +1190,17 @@ namespace Beefy.utils
|
||||||
else if (type == typeof(System.UInt32))
|
else if (type == typeof(System.UInt32))
|
||||||
{
|
{
|
||||||
((uint32)theObject).ToString(str);
|
((uint32)theObject).ToString(str);
|
||||||
str.Append("U");
|
//str.Append("U");
|
||||||
}
|
}
|
||||||
else if (type == typeof(System.Int64))
|
else if (type == typeof(System.Int64))
|
||||||
{
|
{
|
||||||
((uint64)theObject).ToString(str);
|
((int64)theObject).ToString(str);
|
||||||
str.Append("L");
|
//str.Append("L");
|
||||||
}
|
}
|
||||||
else if (type == typeof(System.UInt64))
|
else if (type == typeof(System.UInt64))
|
||||||
{
|
{
|
||||||
((uint64)theObject).ToString(str);
|
((uint64)theObject).ToString(str);
|
||||||
str.Append("UL");
|
//str.Append("UL");
|
||||||
}
|
}
|
||||||
else if (type == typeof(System.Int))
|
else if (type == typeof(System.Int))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue