Home
last modified time | relevance | path

Searched refs:weaps (Results 1 – 5 of 5) sorted by relevance

/third_party/flatbuffers/samples/
DSampleBinary.kt42 val weaps = IntArray(2) in main() constant
43 weaps[0] = Weapon.createWeapon(builder, weaponOneName, weaponOneDamage) in main()
44 weaps[1] = Weapon.createWeapon(builder, weaponTwoName, weaponTwoDamage) in main()
50 val weapons = Monster.createWeaponsVector(builder, weaps) in main()
61 Monster.addEquipped(builder, weaps[1]) in main()
DSampleBinary.java41 int[] weaps = new int[2]; in main() local
42 weaps[0] = Weapon.createWeapon(builder, weaponOneName, weaponOneDamage); in main()
43 weaps[1] = Weapon.createWeapon(builder, weaponTwoName, weaponTwoDamage); in main()
49 int weapons = Monster.createWeaponsVector(builder, weaps); in main()
60 Monster.addEquipped(builder, weaps[1]); in main()
DSampleBinary.cs37 var weaps = new Offset<Weapon>[2]; in Main()
38 weaps[0] = Weapon.CreateWeapon(builder, weapon1Name, (short)weapon1Damage); in Main()
39 weaps[1] = Weapon.CreateWeapon(builder, weapon2Name, (short)weapon2Damage); in Main()
45 var weapons = Monster.CreateWeaponsVector(builder, weaps); in Main()
56 Monster.AddEquipped(builder, weaps[1].Value); in Main()
DSampleBinary.php51 $weaps = array($sword, $axe);
52 $weapons = \MyGame\Sample\Monster::CreateWeaponsVector($builder, $weaps);
64 \MyGame\Sample\Monster::AddEquipped($builder, $weaps[1]);
/third_party/flatbuffers/docs/source/
DTutorial.md804 $weaps = array($sword, $axe);
805 $weapons = \MyGame\Sample\Monster::CreateWeaponsVector($builder, $weaps);
1166 int[] weaps = new int[2];
1167 weaps[0] = sword;
1168 weaps[1] = axe;
1170 // Pass the `weaps` array into the `createWeaponsVector()` method to create a FlatBuffer vector.
1171 int weapons = Monster.createWeaponsVector(builder, weaps);
1178 val weaps = intArrayOf(sword, axe)
1180 // Pass the `weaps` array into the `createWeaponsVector()` method to create a FlatBuffer vector.
1181 val weapons = Monster.createWeaponsVector(builder, weaps)
[all …]