Home | History | Annotate | Download | only in Sample

Lines Matching refs:end

14 end
20 end
23 end
31 end
32 end
37 end
39 end
44 end
46 end
51 end
52 end
58 end
60 end
65 end
67 end
72 end
74 end
84 end
85 end
90 end
92 end
97 end
99 end
106 end
107 end
108 function Monster.Start(builder) builder:StartObject(10) end
109 function Monster.AddPos(builder, pos) builder:PrependStructSlot(0, pos, 0) end
110 function Monster.AddMana(builder, mana) builder:PrependInt16Slot(1, mana, 150) end
111 function Monster.AddHp(builder, hp) builder:PrependInt16Slot(2, hp, 100) end
112 function Monster.AddName(builder, name) builder:PrependUOffsetTRelativeSlot(3, name, 0) end
113 function Monster.AddInventory(builder, inventory) builder:PrependUOffsetTRelativeSlot(5, inventory, 0) end
114 function Monster.StartInventoryVector(builder, numElems) return builder:StartVector(1, numElems, 1) end
115 function Monster.AddColor(builder, color) builder:PrependInt8Slot(6, color, 2) end
116 function Monster.AddWeapons(builder, weapons) builder:PrependUOffsetTRelativeSlot(7, weapons, 0) end
117 function Monster.StartWeaponsVector(builder, numElems) return builder:StartVector(4, numElems, 4) end
118 function Monster.AddEquippedType(builder, equippedType) builder:PrependUint8Slot(8, equippedType, 0) end
119 function Monster.AddEquipped(builder, equipped) builder:PrependUOffsetTRelativeSlot(9, equipped, 0) end
120 function Monster.End(builder) return builder:EndObject() end