mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Scriptengine: Support char-type
This commit is contained in:
@@ -15,6 +15,7 @@ static sealed class ScriptEngineHelper
|
|||||||
private static Dictionary<StringView, ScriptFieldType> _scriptFieldTypes = new Dictionary<StringView, ScriptFieldType>()
|
private static Dictionary<StringView, ScriptFieldType> _scriptFieldTypes = new Dictionary<StringView, ScriptFieldType>()
|
||||||
{
|
{
|
||||||
("System.Boolean", .Bool),
|
("System.Boolean", .Bool),
|
||||||
|
("System.Char", .Char),
|
||||||
|
|
||||||
("System.SByte", .SByte),
|
("System.SByte", .SByte),
|
||||||
("System.Int16", .Short),
|
("System.Int16", .Short),
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ enum ScriptFieldType
|
|||||||
case Array;
|
case Array;
|
||||||
|
|
||||||
case Bool;
|
case Bool;
|
||||||
|
case Char;
|
||||||
|
|
||||||
case SByte;
|
case SByte;
|
||||||
case Short;
|
case Short;
|
||||||
|
|||||||
Reference in New Issue
Block a user