flatbuffers/tests/MyGame/Example
Shuhei Tanuma 37e28d98ea C# Unity can't cast integer represented enum value.
```
namespace MyGame;

enum CommandType : byte {
	None = 0,
}

table Command {
	id:int;
	type:CommandType;
}
```

then generate c# files. it'll output compile error like these.

```
Assets/MyGame/Command.cs(18,39): error CS1041: Identifier expected
Assets/MyGame/Command.cs(18,39): error CS1737: Optional parameter cannot precede required parameters

16:   public static Offset<Command> CreateCommand(FlatBufferBuilder builder,
17:   int id = 0,
18:   CommandType type = (CommandType)0) {
```
2015-11-17 18:02:59 +09:00
..
__init__.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00
Any.cs [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
Any.go [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
Any.java [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
Any.py Add missing Python files from type cast commit. 2015-08-12 10:17:10 -07:00
Color.cs Enums use native enums in C# 2015-04-13 10:40:30 -07:00
Color.go Added a bit_flags attribute to enum declarations that 1<<N every value. 2014-07-21 16:40:39 -07:00
Color.java Seal all classes in Java/C# 2015-04-10 11:20:19 -07:00
Color.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00
Monster.cs Allow structs to be parsed in JSON with out of order fields. 2015-10-28 17:54:11 -07:00
Monster.go Allow structs to be parsed in JSON with out of order fields. 2015-10-28 17:54:11 -07:00
Monster.java Allow structs to be parsed in JSON with out of order fields. 2015-10-28 17:54:11 -07:00
Monster.py Allow structs to be parsed in JSON with out of order fields. 2015-10-28 17:54:11 -07:00
Stat.cs rebased fork 2015-08-07 18:59:59 +03:00
Stat.go Remove all string allocations during parsing. 2015-04-02 11:56:55 -07:00
Stat.java Added support for imports and many other .proto features. 2015-10-13 14:01:55 -07:00
Stat.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00
Test.cs rebased fork 2015-08-07 18:59:59 +03:00
Test.go Port FlatBuffers to Go. 2014-07-21 16:40:39 -07:00
Test.java Added support for imports and many other .proto features. 2015-10-13 14:01:55 -07:00
Test.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00
TestSimpleTableWithEnum.cs C# Unity can't cast integer represented enum value. 2015-11-17 18:02:59 +09:00
TestSimpleTableWithEnum.go [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
TestSimpleTableWithEnum.java Added support for imports and many other .proto features. 2015-10-13 14:01:55 -07:00
TestSimpleTableWithEnum.py Add missing Python files from type cast commit. 2015-08-12 10:17:10 -07:00
Vec3.cs rebased fork 2015-08-07 18:59:59 +03:00
Vec3.go applied struct parameter fix to Go and Python generated classes 2015-07-13 22:53:59 +03:00
Vec3.java Added support for imports and many other .proto features. 2015-10-13 14:01:55 -07:00
Vec3.py applied struct parameter fix to Go and Python generated classes 2015-07-13 22:53:59 +03:00