Searched refs:MyGame_Example_Color (Results 1 – 3 of 3) sorted by relevance
/aosp_15_r20/external/flatbuffers/tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/ |
H A D | monster_test_generated.swift | 8 public enum MyGame_Example_Color: UInt8, Enum, Verifiable { 19 public static var max: MyGame_Example_Color { return .blue } 20 public static var min: MyGame_Example_Color { return .red } 23 extension MyGame_Example_Color: Encodable { extension 343 …public init(x: Float32, y: Float32, z: Float32, test1: Double, test2: MyGame_Example_Color, test3:… 375 public var test2: MyGame_Example_Color { MyGame_Example_Color(rawValue: _test2)! } 430 …public var test2: MyGame_Example_Color { return MyGame_Example_Color(rawValue: _accessor.readBuffe… 431 …@discardableResult public func mutate(test2: MyGame_Example_Color) -> Bool { return _accessor.muta… in mutate() 807 …internal var color: MyGame_Example_Color { let o = _accessor.offset(VTOFFSET.color.v); return o ==… 808 …@discardableResult internal func mutate(color: MyGame_Example_Color) -> Bool {let o = _accessor.of… in mutate() [all …]
|
/aosp_15_r20/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
H A D | monster_test_generated.swift | 8 public enum MyGame_Example_Color: UInt8, Enum, Verifiable { 19 public static var max: MyGame_Example_Color { return .blue } 20 public static var min: MyGame_Example_Color { return .red } 23 extension MyGame_Example_Color: Encodable { extension 343 …public init(x: Float32, y: Float32, z: Float32, test1: Double, test2: MyGame_Example_Color, test3:… 375 public var test2: MyGame_Example_Color { MyGame_Example_Color(rawValue: _test2)! } 430 …public var test2: MyGame_Example_Color { return MyGame_Example_Color(rawValue: _accessor.readBuffe… 431 …@discardableResult public func mutate(test2: MyGame_Example_Color) -> Bool { return _accessor.muta… in mutate() 807 …internal var color: MyGame_Example_Color { let o = _accessor.offset(VTOFFSET.color.v); return o ==… 808 …@discardableResult internal func mutate(color: MyGame_Example_Color) -> Bool {let o = _accessor.of… in mutate() [all …]
|
/aosp_15_r20/external/flatbuffers/tests/ts/ts-flat-files/ |
H A D | monster_test_generated.ts | 12 export enum MyGame_Example_Color { enum 400 color():MyGame_Example_Color { 402 return offset ? this.bb!.readUint8(this.bb_pos + offset) : MyGame_Example_Color.Green; 409 static addColor(builder:flatbuffers.Builder, color:MyGame_Example_Color) { 410 builder.addFieldInt8(0, color, MyGame_Example_Color.Green); 418 static createTestSimpleTableWithEnum(builder:flatbuffers.Builder, color:MyGame_Example_Color):flatb… 458 test2():MyGame_Example_Color { 470 …s.Builder, x: number, y: number, z: number, test1: number, test2: MyGame_Example_Color, test3_a: n… 782 color():MyGame_Example_Color { 784 return offset ? this.bb!.readUint8(this.bb_pos + offset) : MyGame_Example_Color.Blue; [all …]
|