Files
SDK_SG200x_V2/flatbuffers/tests/monster_extra.fbs
carbon 93b1517102 add flatbuffers
commit 6da1cf79d90eb242e7da5318241d42279a3df3ba
Author: Max Burke <max@urbanlogiq.com>
Date:   Sun Jan 19 14:47:28 2020 -0800

    [rust] Add use declarations to Rust-generated bindings for imported FB definitions (#5645)

    * Bugfix for Rust generation of union fields named with language keywords
2024-05-31 14:12:12 +08:00

22 lines
484 B
Plaintext

namespace MyGame;
// Not all programming languages support this extra table.
table MonsterExtra {
// Float-point values with NaN and Inf defaults.
d0:double = nan;
d1:double = -nan; // parser must ignore sign of NaN
d2:double = +inf;
d3:double = -inf;
f0:float = -nan; // parser must ignore sign of NaN
f1:float = +nan;
f2:float = +inf;
f3:float = -inf;
dvec : [double];
fvec : [float];
}
root_type MonsterExtra;
file_identifier "MONE";
file_extension "mon";