mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 03:40:01 +00:00
bulk code format fix (#8707)
This commit is contained in:
48
tests/ts/my-game/example/struct-of-structs.d.ts
vendored
48
tests/ts/my-game/example/struct-of-structs.d.ts
vendored
@@ -1,23 +1,33 @@
|
||||
import * as flatbuffers from 'flatbuffers';
|
||||
import { Ability, AbilityT } from '../../my-game/example/ability.js';
|
||||
import { Test, TestT } from '../../my-game/example/test.js';
|
||||
export declare class StructOfStructs implements flatbuffers.IUnpackableObject<StructOfStructsT> {
|
||||
bb: flatbuffers.ByteBuffer | null;
|
||||
bb_pos: number;
|
||||
__init(i: number, bb: flatbuffers.ByteBuffer): StructOfStructs;
|
||||
a(obj?: Ability): Ability | null;
|
||||
b(obj?: Test): Test | null;
|
||||
c(obj?: Ability): Ability | null;
|
||||
static getFullyQualifiedName(): string;
|
||||
static sizeOf(): number;
|
||||
static createStructOfStructs(builder: flatbuffers.Builder, a_id: number, a_distance: number, b_a: number, b_b: number, c_id: number, c_distance: number): flatbuffers.Offset;
|
||||
unpack(): StructOfStructsT;
|
||||
unpackTo(_o: StructOfStructsT): void;
|
||||
import {Ability, AbilityT} from '../../my-game/example/ability.js';
|
||||
import {Test, TestT} from '../../my-game/example/test.js';
|
||||
export declare class StructOfStructs
|
||||
implements flatbuffers.IUnpackableObject<StructOfStructsT>
|
||||
{
|
||||
bb: flatbuffers.ByteBuffer | null;
|
||||
bb_pos: number;
|
||||
__init(i: number, bb: flatbuffers.ByteBuffer): StructOfStructs;
|
||||
a(obj?: Ability): Ability | null;
|
||||
b(obj?: Test): Test | null;
|
||||
c(obj?: Ability): Ability | null;
|
||||
static getFullyQualifiedName(): string;
|
||||
static sizeOf(): number;
|
||||
static createStructOfStructs(
|
||||
builder: flatbuffers.Builder,
|
||||
a_id: number,
|
||||
a_distance: number,
|
||||
b_a: number,
|
||||
b_b: number,
|
||||
c_id: number,
|
||||
c_distance: number,
|
||||
): flatbuffers.Offset;
|
||||
unpack(): StructOfStructsT;
|
||||
unpackTo(_o: StructOfStructsT): void;
|
||||
}
|
||||
export declare class StructOfStructsT implements flatbuffers.IGeneratedObject {
|
||||
a: AbilityT | null;
|
||||
b: TestT | null;
|
||||
c: AbilityT | null;
|
||||
constructor(a?: AbilityT | null, b?: TestT | null, c?: AbilityT | null);
|
||||
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
||||
a: AbilityT | null;
|
||||
b: TestT | null;
|
||||
c: AbilityT | null;
|
||||
constructor(a?: AbilityT | null, b?: TestT | null, c?: AbilityT | null);
|
||||
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user