mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 18:28:18 +00:00
Fixes a bug where the create function doesnt optional + required items (#7228)
Format sh file
This commit is contained in:
@@ -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_,
|
||||
|
||||
Reference in New Issue
Block a user