// Code generated by the FlatBuffers compiler. DO NOT EDIT.

package lobby

import (
	flatbuffers "github.com/google/flatbuffers/go"
)

type MyGamesListRequest struct {
	_tab flatbuffers.Table
}

func GetRootAsMyGamesListRequest(buf []byte, offset flatbuffers.UOffsetT) *MyGamesListRequest {
	n := flatbuffers.GetUOffsetT(buf[offset:])
	x := &MyGamesListRequest{}
	x.Init(buf, n+offset)
	return x
}

func FinishMyGamesListRequestBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT) {
	builder.Finish(offset)
}

func GetSizePrefixedRootAsMyGamesListRequest(buf []byte, offset flatbuffers.UOffsetT) *MyGamesListRequest {
	n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:])
	x := &MyGamesListRequest{}
	x.Init(buf, n+offset+flatbuffers.SizeUint32)
	return x
}

func FinishSizePrefixedMyGamesListRequestBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT) {
	builder.FinishSizePrefixed(offset)
}

func (rcv *MyGamesListRequest) Init(buf []byte, i flatbuffers.UOffsetT) {
	rcv._tab.Bytes = buf
	rcv._tab.Pos = i
}

func (rcv *MyGamesListRequest) Table() flatbuffers.Table {
	return rcv._tab
}

func MyGamesListRequestStart(builder *flatbuffers.Builder) {
	builder.StartObject(0)
}
func MyGamesListRequestEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
	return builder.EndObject()
}
