• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// automatically generated by the FlatBuffers compiler, do not modify
2export class Unused {
3    constructor() {
4        this.bb = null;
5        this.bb_pos = 0;
6    }
7    __init(i, bb) {
8        this.bb_pos = i;
9        this.bb = bb;
10        return this;
11    }
12    a() {
13        return this.bb.readInt32(this.bb_pos);
14    }
15    mutate_a(value) {
16        this.bb.writeInt32(this.bb_pos + 0, value);
17        return true;
18    }
19    static getFullyQualifiedName() {
20        return 'MyGame.OtherNameSpace.Unused';
21    }
22    static sizeOf() {
23        return 4;
24    }
25    static createUnused(builder, a) {
26        builder.prep(4, 4);
27        builder.writeInt32(a);
28        return builder.offset();
29    }
30    unpack() {
31        return new UnusedT(this.a());
32    }
33    unpackTo(_o) {
34        _o.a = this.a();
35    }
36}
37export class UnusedT {
38    constructor(a = 0) {
39        this.a = a;
40    }
41    pack(builder) {
42        return Unused.createUnused(builder, this.a);
43    }
44}
45