Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 1 | // Code generated by the FlatBuffers compiler. DO NOT EDIT. |
| 2 | |
| 3 | package MyGame |
| 4 | |
| 5 | import ( |
| 6 | flatbuffers "github.com/google/flatbuffers/go" |
| 7 | ) |
| 8 | |
| 9 | type InParentNamespace struct { |
| 10 | _tab flatbuffers.Table |
| 11 | } |
| 12 | |
| 13 | func GetRootAsInParentNamespace(buf []byte, offset flatbuffers.UOffsetT) *InParentNamespace { |
| 14 | n := flatbuffers.GetUOffsetT(buf[offset:]) |
| 15 | x := &InParentNamespace{} |
| 16 | x.Init(buf, n+offset) |
| 17 | return x |
| 18 | } |
| 19 | |
| 20 | func (rcv *InParentNamespace) Init(buf []byte, i flatbuffers.UOffsetT) { |
| 21 | rcv._tab.Bytes = buf |
| 22 | rcv._tab.Pos = i |
| 23 | } |
| 24 | |
| 25 | func (rcv *InParentNamespace) Table() flatbuffers.Table { |
| 26 | return rcv._tab |
| 27 | } |
| 28 | |
| 29 | func InParentNamespaceStart(builder *flatbuffers.Builder) { |
| 30 | builder.StartObject(0) |
| 31 | } |
| 32 | func InParentNamespaceEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT { |
| 33 | return builder.EndObject() |
| 34 | } |