• Home
  • Raw
  • Download

Lines Matching refs:Monster

8 local Monster = {} -- the module
11 function Monster.New()
16 function Monster.GetRootAsMonster(buf, offset)
18 local o = Monster.New()
525 function Monster.Start(builder) builder:StartObject(48) end
526 function Monster.AddPos(builder, pos) builder:PrependStructSlot(0, pos, 0) end
527 function Monster.AddMana(builder, mana) builder:PrependInt16Slot(1, mana, 150) end
528 function Monster.AddHp(builder, hp) builder:PrependInt16Slot(2, hp, 100) end
529 function Monster.AddName(builder, name) builder:PrependUOffsetTRelativeSlot(3, name, 0) end
530 function Monster.AddInventory(builder, inventory) builder:PrependUOffsetTRelativeSlot(5, inventory,…
531 function Monster.StartInventoryVector(builder, numElems) return builder:StartVector(1, numElems, 1)…
532 function Monster.AddColor(builder, color) builder:PrependInt8Slot(6, color, 8) end
533 function Monster.AddTestType(builder, testType) builder:PrependUint8Slot(7, testType, 0) end
534 function Monster.AddTest(builder, test) builder:PrependUOffsetTRelativeSlot(8, test, 0) end
535 function Monster.AddTest4(builder, test4) builder:PrependUOffsetTRelativeSlot(9, test4, 0) end
536 function Monster.StartTest4Vector(builder, numElems) return builder:StartVector(4, numElems, 2) end
537 function Monster.AddTestarrayofstring(builder, testarrayofstring) builder:PrependUOffsetTRelativeSl…
538 function Monster.StartTestarrayofstringVector(builder, numElems) return builder:StartVector(4, numE…
539 function Monster.AddTestarrayoftables(builder, testarrayoftables) builder:PrependUOffsetTRelativeSl…
540 function Monster.StartTestarrayoftablesVector(builder, numElems) return builder:StartVector(4, numE…
541 function Monster.AddEnemy(builder, enemy) builder:PrependUOffsetTRelativeSlot(12, enemy, 0) end
542 function Monster.AddTestnestedflatbuffer(builder, testnestedflatbuffer) builder:PrependUOffsetTRela…
543 function Monster.StartTestnestedflatbufferVector(builder, numElems) return builder:StartVector(1, n…
544 function Monster.AddTestempty(builder, testempty) builder:PrependUOffsetTRelativeSlot(14, testempty…
545 function Monster.AddTestbool(builder, testbool) builder:PrependBoolSlot(15, testbool, 0) end
546 function Monster.AddTesthashs32Fnv1(builder, testhashs32Fnv1) builder:PrependInt32Slot(16, testhash…
547 function Monster.AddTesthashu32Fnv1(builder, testhashu32Fnv1) builder:PrependUint32Slot(17, testhas…
548 function Monster.AddTesthashs64Fnv1(builder, testhashs64Fnv1) builder:PrependInt64Slot(18, testhash…
549 function Monster.AddTesthashu64Fnv1(builder, testhashu64Fnv1) builder:PrependUint64Slot(19, testhas…
550 function Monster.AddTesthashs32Fnv1a(builder, testhashs32Fnv1a) builder:PrependInt32Slot(20, testha…
551 function Monster.AddTesthashu32Fnv1a(builder, testhashu32Fnv1a) builder:PrependUint32Slot(21, testh…
552 function Monster.AddTesthashs64Fnv1a(builder, testhashs64Fnv1a) builder:PrependInt64Slot(22, testha…
553 function Monster.AddTesthashu64Fnv1a(builder, testhashu64Fnv1a) builder:PrependUint64Slot(23, testh…
554 function Monster.AddTestarrayofbools(builder, testarrayofbools) builder:PrependUOffsetTRelativeSlot…
555 function Monster.StartTestarrayofboolsVector(builder, numElems) return builder:StartVector(1, numEl…
556 function Monster.AddTestf(builder, testf) builder:PrependFloat32Slot(25, testf, 3.14159) end
557 function Monster.AddTestf2(builder, testf2) builder:PrependFloat32Slot(26, testf2, 3.0) end
558 function Monster.AddTestf3(builder, testf3) builder:PrependFloat32Slot(27, testf3, 0.0) end
559 function Monster.AddTestarrayofstring2(builder, testarrayofstring2) builder:PrependUOffsetTRelative…
560 function Monster.StartTestarrayofstring2Vector(builder, numElems) return builder:StartVector(4, num…
561 function Monster.AddTestarrayofsortedstruct(builder, testarrayofsortedstruct) builder:PrependUOffse…
562 function Monster.StartTestarrayofsortedstructVector(builder, numElems) return builder:StartVector(8…
563 function Monster.AddFlex(builder, flex) builder:PrependUOffsetTRelativeSlot(30, flex, 0) end
564 function Monster.StartFlexVector(builder, numElems) return builder:StartVector(1, numElems, 1) end
565 function Monster.AddTest5(builder, test5) builder:PrependUOffsetTRelativeSlot(31, test5, 0) end
566 function Monster.StartTest5Vector(builder, numElems) return builder:StartVector(4, numElems, 2) end
567 function Monster.AddVectorOfLongs(builder, vectorOfLongs) builder:PrependUOffsetTRelativeSlot(32, v…
568 function Monster.StartVectorOfLongsVector(builder, numElems) return builder:StartVector(8, numElems…
569 function Monster.AddVectorOfDoubles(builder, vectorOfDoubles) builder:PrependUOffsetTRelativeSlot(3…
570 function Monster.StartVectorOfDoublesVector(builder, numElems) return builder:StartVector(8, numEle…
571 function Monster.AddParentNamespaceTest(builder, parentNamespaceTest) builder:PrependUOffsetTRelati…
572 function Monster.AddVectorOfReferrables(builder, vectorOfReferrables) builder:PrependUOffsetTRelati…
573 function Monster.StartVectorOfReferrablesVector(builder, numElems) return builder:StartVector(4, nu…
574 function Monster.AddSingleWeakReference(builder, singleWeakReference) builder:PrependUint64Slot(36,…
575 function Monster.AddVectorOfWeakReferences(builder, vectorOfWeakReferences) builder:PrependUOffsetT…
576 function Monster.StartVectorOfWeakReferencesVector(builder, numElems) return builder:StartVector(8,…
577 function Monster.AddVectorOfStrongReferrables(builder, vectorOfStrongReferrables) builder:PrependUO…
578 function Monster.StartVectorOfStrongReferrablesVector(builder, numElems) return builder:StartVector…
579 function Monster.AddCoOwningReference(builder, coOwningReference) builder:PrependUint64Slot(39, coO…
580 function Monster.AddVectorOfCoOwningReferences(builder, vectorOfCoOwningReferences) builder:Prepend…
581 function Monster.StartVectorOfCoOwningReferencesVector(builder, numElems) return builder:StartVecto…
582 function Monster.AddNonOwningReference(builder, nonOwningReference) builder:PrependUint64Slot(41, n…
583 function Monster.AddVectorOfNonOwningReferences(builder, vectorOfNonOwningReferences) builder:Prepe…
584 function Monster.StartVectorOfNonOwningReferencesVector(builder, numElems) return builder:StartVect…
585 function Monster.AddAnyUniqueType(builder, anyUniqueType) builder:PrependUint8Slot(43, anyUniqueTyp…
586 function Monster.AddAnyUnique(builder, anyUnique) builder:PrependUOffsetTRelativeSlot(44, anyUnique…
587 function Monster.AddAnyAmbiguousType(builder, anyAmbiguousType) builder:PrependUint8Slot(45, anyAmb…
588 function Monster.AddAnyAmbiguous(builder, anyAmbiguous) builder:PrependUOffsetTRelativeSlot(46, any…
589 function Monster.AddVectorOfEnums(builder, vectorOfEnums) builder:PrependUOffsetTRelativeSlot(47, v…
590 function Monster.StartVectorOfEnumsVector(builder, numElems) return builder:StartVector(1, numElems…
591 function Monster.End(builder) return builder:EndObject() end
593 return Monster -- return the module