Fixes a bug where the create function doesnt optional + required items (#7228)

Format sh file
This commit is contained in:
mustiikhalil
2022-04-09 00:28:54 +02:00
committed by GitHub
parent d658239484
commit 173ebb6944
5 changed files with 215 additions and 28 deletions

View File

@@ -1384,7 +1384,7 @@ public struct MyGame_Example_Monster: FlatBufferObject, Verifiable, ObjectAPIPac
pos: MyGame_Example_Vec3? = nil,
mana: Int16 = 150,
hp: Int16 = 100,
nameOffset name: Offset = Offset(),
nameOffset name: Offset,
inventoryVectorOffset inventory: Offset = Offset(),
color: MyGame_Example_Color = .blue,
testType: MyGame_Example_Any_ = .none_,