• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Code generated by the FlatBuffers compiler. DO NOT EDIT.
2
3package MyGame
4
5import (
6	flatbuffers "github.com/google/flatbuffers/go"
7)
8
9type InParentNamespaceT struct {
10}
11
12func (t *InParentNamespaceT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
13	if t == nil { return 0 }
14	InParentNamespaceStart(builder)
15	return InParentNamespaceEnd(builder)
16}
17
18func (rcv *InParentNamespace) UnPackTo(t *InParentNamespaceT) {
19}
20
21func (rcv *InParentNamespace) UnPack() *InParentNamespaceT {
22	if rcv == nil { return nil }
23	t := &InParentNamespaceT{}
24	rcv.UnPackTo(t)
25	return t
26}
27
28type InParentNamespace struct {
29	_tab flatbuffers.Table
30}
31
32func GetRootAsInParentNamespace(buf []byte, offset flatbuffers.UOffsetT) *InParentNamespace {
33	n := flatbuffers.GetUOffsetT(buf[offset:])
34	x := &InParentNamespace{}
35	x.Init(buf, n+offset)
36	return x
37}
38
39func (rcv *InParentNamespace) Init(buf []byte, i flatbuffers.UOffsetT) {
40	rcv._tab.Bytes = buf
41	rcv._tab.Pos = i
42}
43
44func (rcv *InParentNamespace) Table() flatbuffers.Table {
45	return rcv._tab
46}
47
48func InParentNamespaceStart(builder *flatbuffers.Builder) {
49	builder.StartObject(0)
50}
51func InParentNamespaceEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
52	return builder.EndObject()
53}
54