Searched refs:weaps (Results 1 – 6 of 6) sorted by relevance
/external/flatbuffers/samples/ |
D | SampleBinary.kt | 42 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()
|
D | SampleBinary.java | 41 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()
|
D | SampleBinary.cs | 37 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()
|
D | SampleBinary.php | 51 $weaps = array($sword, $axe); 52 $weapons = \MyGame\Sample\Monster::CreateWeaponsVector($builder, $weaps); 64 \MyGame\Sample\Monster::AddEquipped($builder, $weaps[1]);
|
D | samplebinary.js | 47 var weaps = [sword, axe]; 48 var weapons = MyGame.Sample.Monster.createWeaponsVector(builder, weaps); 60 MyGame.Sample.Monster.addEquipped(builder, weaps[1]);
|
/external/flatbuffers/docs/source/ |
D | Tutorial.md | 800 $weaps = array($sword, $axe); 801 $weapons = \MyGame\Sample\Monster::CreateWeaponsVector($builder, $weaps); 1163 int[] weaps = new int[2]; 1164 weaps[0] = sword; 1165 weaps[1] = axe; 1167 // Pass the `weaps` array into the `createWeaponsVector()` method to create a FlatBuffer vector. 1168 int weapons = Monster.createWeaponsVector(builder, weaps); 1175 val weaps = intArrayOf(sword, axe) 1177 // Pass the `weaps` array into the `createWeaponsVector()` method to create a FlatBuffer vector. 1178 val weapons = Monster.createWeaponsVector(builder, weaps) [all …]
|