Lines Matching refs:rcv
18 func (rcv *Ability) UnPackTo(t *AbilityT) {
19 t.Id = rcv.Id()
20 t.Distance = rcv.Distance()
23 func (rcv *Ability) UnPack() *AbilityT {
24 if rcv == nil { return nil }
26 rcv.UnPackTo(t)
34 func (rcv *Ability) Init(buf []byte, i flatbuffers.UOffsetT) {
35 rcv._tab.Bytes = buf
36 rcv._tab.Pos = i
39 func (rcv *Ability) Table() flatbuffers.Table {
40 return rcv._tab.Table
43 func (rcv *Ability) Id() uint32 {
44 return rcv._tab.GetUint32(rcv._tab.Pos + flatbuffers.UOffsetT(0))
46 func (rcv *Ability) MutateId(n uint32) bool {
47 return rcv._tab.MutateUint32(rcv._tab.Pos+flatbuffers.UOffsetT(0), n)
50 func (rcv *Ability) Distance() uint32 {
51 return rcv._tab.GetUint32(rcv._tab.Pos + flatbuffers.UOffsetT(4))
53 func (rcv *Ability) MutateDistance(n uint32) bool {
54 return rcv._tab.MutateUint32(rcv._tab.Pos+flatbuffers.UOffsetT(4), n)