Commit fe483fa3 authored by Dan Douglas's avatar Dan Douglas Committed by Wouter van Oortmerssen

fix typo (#4495)

`Equipment` is a union, not an enum.
parent 8a8dc4e1
...@@ -210,7 +210,7 @@ The `Weapon` table is a sub-table used within our FlatBuffer. It is ...@@ -210,7 +210,7 @@ The `Weapon` table is a sub-table used within our FlatBuffer. It is
used twice: once within the `Monster` table and once within the `Equipment` used twice: once within the `Monster` table and once within the `Equipment`
enum. For our `Monster`, it is used to populate a `vector of tables` via the enum. For our `Monster`, it is used to populate a `vector of tables` via the
`weapons` field within our `Monster`. It is also the only table referenced by `weapons` field within our `Monster`. It is also the only table referenced by
the `Equipment` enum. the `Equipment` union.
The last part of the `schema` is the `root_type`. The root type declares what The last part of the `schema` is the `root_type`. The root type declares what
will be the root table for the serialized data. In our case, the root type is will be the root table for the serialized data. In our case, the root type is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment