Lines Matching refs:dmg
9 let dmg: Int16 = 5 in testCreateMonstor() variable
12 let weapon = Weapon.createWeapon(builder: &b, offset: axe, dmg: dmg) in testCreateMonstor()
22 XCTAssertEqual(monster.weapon(at: 0)?.dmg, dmg) in testCreateMonstor()
26 XCTAssertEqual(p?.dmg, dmg) in testCreateMonstor()
35 let weaponOne = Weapon.createWeapon(builder: &builder, offset: sword, dmg: 3) in testEndTableFinish()
36 let weaponTwo = Weapon.createWeapon(builder: &builder, offset: axe, dmg: 5) in testEndTableFinish()
198 static let offsets: (name: VOffset, dmg: VOffset) = (0, 1)
204 …var dmg: Int16 { let o = __t.offset(6); return o == 0 ? 0 : __t.readBuffer(of: Int16.self, at: o) } variable
210 …unc createWeapon(builder: inout FlatBufferBuilder, offset: Offset<String>, dmg: Int16) -> Offset<W… in createWeapon()
213 Weapon.add(builder: &builder, dmg: dmg) in createWeapon()
225 @inlinable static func add(builder: inout FlatBufferBuilder, dmg: Int16) { in add()
226 builder.add(element: dmg, def: 0, at: Weapon.offsets.dmg) in add()