// automatically generated by the FlatBuffers compiler, do not modify

/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */

import * as flatbuffers from 'flatbuffers';



export class MyGamesListRequest implements flatbuffers.IUnpackableObject<MyGamesListRequestT> {
  bb: flatbuffers.ByteBuffer|null = null;
  bb_pos = 0;
  __init(i:number, bb:flatbuffers.ByteBuffer):MyGamesListRequest {
  this.bb_pos = i;
  this.bb = bb;
  return this;
}

static getRootAsMyGamesListRequest(bb:flatbuffers.ByteBuffer, obj?:MyGamesListRequest):MyGamesListRequest {
  return (obj || new MyGamesListRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
}

static getSizePrefixedRootAsMyGamesListRequest(bb:flatbuffers.ByteBuffer, obj?:MyGamesListRequest):MyGamesListRequest {
  bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
  return (obj || new MyGamesListRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
}

static startMyGamesListRequest(builder:flatbuffers.Builder) {
  builder.startObject(0);
}

static endMyGamesListRequest(builder:flatbuffers.Builder):flatbuffers.Offset {
  const offset = builder.endObject();
  return offset;
}

static createMyGamesListRequest(builder:flatbuffers.Builder):flatbuffers.Offset {
  MyGamesListRequest.startMyGamesListRequest(builder);
  return MyGamesListRequest.endMyGamesListRequest(builder);
}

unpack(): MyGamesListRequestT {
  return new MyGamesListRequestT();
}


unpackTo(_o: MyGamesListRequestT): void {}
}

export class MyGamesListRequestT implements flatbuffers.IGeneratedObject {
constructor(){}


pack(builder:flatbuffers.Builder): flatbuffers.Offset {
  return MyGamesListRequest.createMyGamesListRequest(builder);
}
}
