Static Methodpackage-distributed-system 28.0.1TestMessages
add(color:_:)
TestMessages_generated.swift:319static func add(color: DataModel_Color?, _ fbb: inout FlatBufferBuilder)
Other members in extension
Type members
init(ByteBuffer, o: Int32
) 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 createMonster(inout FlatBufferBuilder, identifier: UInt64, nameOffset: Offset, pos: DataModel_Vec3?, mana: UInt16?, hp: UInt16?, color: DataModel_Color?, inventoryVectorOffset: Offset
) -> Offset 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