...

Text file src/github.com/google/flatbuffers/tests/ts/my-game/example/struct-of-structs.d.ts

Documentation: github.com/google/flatbuffers/tests/ts/my-game/example

     1import * as flatbuffers from 'flatbuffers';
     2import { Ability, AbilityT } from '../../my-game/example/ability.js';
     3import { Test, TestT } from '../../my-game/example/test.js';
     4export declare class StructOfStructs implements flatbuffers.IUnpackableObject<StructOfStructsT> {
     5    bb: flatbuffers.ByteBuffer | null;
     6    bb_pos: number;
     7    __init(i: number, bb: flatbuffers.ByteBuffer): StructOfStructs;
     8    a(obj?: Ability): Ability | null;
     9    b(obj?: Test): Test | null;
    10    c(obj?: Ability): Ability | null;
    11    static getFullyQualifiedName(): string;
    12    static sizeOf(): number;
    13    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;
    14    unpack(): StructOfStructsT;
    15    unpackTo(_o: StructOfStructsT): void;
    16}
    17export declare class StructOfStructsT implements flatbuffers.IGeneratedObject {
    18    a: AbilityT | null;
    19    b: TestT | null;
    20    c: AbilityT | null;
    21    constructor(a?: AbilityT | null, b?: TestT | null, c?: AbilityT | null);
    22    pack(builder: flatbuffers.Builder): flatbuffers.Offset;
    23}

View as plain text