Static Methodpackage-distributed-system 28.0.1TestMessages
createMonster(_:identifier:nameOffset:pos:mana:hp:color:inventoryVectorOffset:)
TestMessages_generated.swift:322static func createMonster(_ fbb: inout FlatBufferBuilder, identifier: UInt64 = 0, nameOffset name: Offset = Offset(), pos: DataModel_Vec3? = nil, mana: UInt16? = nil, hp: UInt16? = nil, color: DataModel_Color? = nil, inventoryVectorOffset inventory: Offset = Offset()) -> Offset
Other members in extension
Type members
init(ByteBuffer, o: Int32
) static func add(color: DataModel_Color?, inout FlatBufferBuilder
) static func add(hp: UInt16?, inout FlatBufferBuilder
) static func add(identifier: UInt64, inout FlatBufferBuilder
) static func add(mana: UInt16?, inout FlatBufferBuilder
) static func add(name: Offset, inout FlatBufferBuilder
) static func add(pos: DataModel_Vec3?, inout FlatBufferBuilder
) static func addVectorOf(inventory: Offset, inout FlatBufferBuilder
) static func endMonster(inout FlatBufferBuilder, start: UOffset
) -> Offset static func startMonster(inout FlatBufferBuilder
) -> UOffset static func verify<T>(inout Verifier, at: Int, of: T.Type
) throws
Instance members
var color: DataModel_Color?
var hasInventory: Bool
var hp: UInt16?
var identifier: UInt64
var inventory: [UInt8]
var inventoryCount: Int32
var mana: UInt16?
var mutablePos: DataModel_Vec3_Mutable?
var name: String?
var nameSegmentArray: [UInt8]?
var pos: DataModel_Vec3?
func inventory(at: Int32
) -> UInt8 func mutate(color: DataModel_Color
) -> Bool func mutate(hp: UInt16
) -> Bool func mutate(identifier: UInt64
) -> Bool func mutate(inventory: UInt8, at: Int32
) -> Bool func mutate(mana: UInt16
) -> Bool