Add C#/Java generator behaviour for 'private' attribute (#4882)

* Added 'private' attribute, supported when generating C# and Java

* Added use of 'private' attribute in monster_test
This commit is contained in:
Andy Martin
2018-08-16 23:25:33 +01:00
committed by Wouter van Oortmerssen
parent 1f03becd24
commit c2c3a84aaf
5 changed files with 23 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ union Any { Monster, TestSimpleTableWithEnum, MyGame.Example2.Monster }
struct Test { a:short; b:byte; }
table TestSimpleTableWithEnum (csharp_partial) {
table TestSimpleTableWithEnum (csharp_partial, private) {
color: Color = Green;
}