Lines Matching refs:bb
24 bb: flatbuffers.ByteBuffer|null = null; property in Monster
26 __init(i:number, bb:flatbuffers.ByteBuffer):Monster {
28 this.bb = bb;
32 static getRootAsMonster(bb:flatbuffers.ByteBuffer, obj?:Monster):Monster {
33 return (obj || new Monster()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
36 static getSizePrefixedRootAsMonster(bb:flatbuffers.ByteBuffer, obj?:Monster):Monster {
37 bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
38 return (obj || new Monster()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
41 static bufferHasIdentifier(bb:flatbuffers.ByteBuffer):boolean {
42 return bb.__has_identifier('MONS');
46 const offset = this.bb!.__offset(this.bb_pos, 4);
47 return offset ? (obj || new Vec3()).__init(this.bb_pos + offset, this.bb!) : null;
51 const offset = this.bb!.__offset(this.bb_pos, 6);
52 return offset ? this.bb!.readInt16(this.bb_pos + offset) : 150;
56 const offset = this.bb!.__offset(this.bb_pos, 6);
62 this.bb!.writeInt16(this.bb_pos + offset, value);
67 const offset = this.bb!.__offset(this.bb_pos, 8);
68 return offset ? this.bb!.readInt16(this.bb_pos + offset) : 100;
72 const offset = this.bb!.__offset(this.bb_pos, 8);
78 this.bb!.writeInt16(this.bb_pos + offset, value);
85 const offset = this.bb!.__offset(this.bb_pos, 10);
86 return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
90 const offset = this.bb!.__offset(this.bb_pos, 14);
91 return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : 0;
95 const offset = this.bb!.__offset(this.bb_pos, 14);
96 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
100 const offset = this.bb!.__offset(this.bb_pos, 14);
101 …fset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(thi…
105 const offset = this.bb!.__offset(this.bb_pos, 16);
106 return offset ? this.bb!.readUint8(this.bb_pos + offset) : Color.Blue;
110 const offset = this.bb!.__offset(this.bb_pos, 16);
116 this.bb!.writeUint8(this.bb_pos + offset, value);
121 const offset = this.bb!.__offset(this.bb_pos, 18);
122 return offset ? this.bb!.readUint8(this.bb_pos + offset) : Any.NONE;
126 const offset = this.bb!.__offset(this.bb_pos, 20);
127 return offset ? this.bb!.__union(obj, this.bb_pos + offset) : null;
131 const offset = this.bb!.__offset(this.bb_pos, 22);
132 …return offset ? (obj || new Test()).__init(this.bb!.__vector(this.bb_pos + offset) + index * 4, th…
136 const offset = this.bb!.__offset(this.bb_pos, 22);
137 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
143 const offset = this.bb!.__offset(this.bb_pos, 24);
144 …return offset ? this.bb!.__string(this.bb!.__vector(this.bb_pos + offset) + index * 4, optionalEnc…
148 const offset = this.bb!.__offset(this.bb_pos, 24);
149 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
157 const offset = this.bb!.__offset(this.bb_pos, 26);
158 … ? (obj || new Monster()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos + offset) + ind…
162 const offset = this.bb!.__offset(this.bb_pos, 26);
163 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
167 const offset = this.bb!.__offset(this.bb_pos, 28);
168 …return offset ? (obj || new Monster()).__init(this.bb!.__indirect(this.bb_pos + offset), this.bb!)…
172 const offset = this.bb!.__offset(this.bb_pos, 30);
173 return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : 0;
177 const offset = this.bb!.__offset(this.bb_pos, 30);
178 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
182 const offset = this.bb!.__offset(this.bb_pos, 30);
183 …fset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(thi…
187 const offset = this.bb!.__offset(this.bb_pos, 32);
188 …return offset ? (obj || new Stat()).__init(this.bb!.__indirect(this.bb_pos + offset), this.bb!) : …
192 const offset = this.bb!.__offset(this.bb_pos, 34);
193 return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
197 const offset = this.bb!.__offset(this.bb_pos, 34);
203 this.bb!.writeInt8(this.bb_pos + offset, +value);
208 const offset = this.bb!.__offset(this.bb_pos, 36);
209 return offset ? this.bb!.readInt32(this.bb_pos + offset) : 0;
213 const offset = this.bb!.__offset(this.bb_pos, 36);
219 this.bb!.writeInt32(this.bb_pos + offset, value);
224 const offset = this.bb!.__offset(this.bb_pos, 38);
225 return offset ? this.bb!.readUint32(this.bb_pos + offset) : 0;
229 const offset = this.bb!.__offset(this.bb_pos, 38);
235 this.bb!.writeUint32(this.bb_pos + offset, value);
240 const offset = this.bb!.__offset(this.bb_pos, 40);
241 return offset ? this.bb!.readInt64(this.bb_pos + offset) : this.bb!.createLong(0, 0);
245 const offset = this.bb!.__offset(this.bb_pos, 40);
251 this.bb!.writeInt64(this.bb_pos + offset, value);
256 const offset = this.bb!.__offset(this.bb_pos, 42);
257 return offset ? this.bb!.readUint64(this.bb_pos + offset) : this.bb!.createLong(0, 0);
261 const offset = this.bb!.__offset(this.bb_pos, 42);
267 this.bb!.writeUint64(this.bb_pos + offset, value);
272 const offset = this.bb!.__offset(this.bb_pos, 44);
273 return offset ? this.bb!.readInt32(this.bb_pos + offset) : 0;
277 const offset = this.bb!.__offset(this.bb_pos, 44);
283 this.bb!.writeInt32(this.bb_pos + offset, value);
288 const offset = this.bb!.__offset(this.bb_pos, 46);
289 return offset ? this.bb!.readUint32(this.bb_pos + offset) : 0;
293 const offset = this.bb!.__offset(this.bb_pos, 46);
299 this.bb!.writeUint32(this.bb_pos + offset, value);
304 const offset = this.bb!.__offset(this.bb_pos, 48);
305 return offset ? this.bb!.readInt64(this.bb_pos + offset) : this.bb!.createLong(0, 0);
309 const offset = this.bb!.__offset(this.bb_pos, 48);
315 this.bb!.writeInt64(this.bb_pos + offset, value);
320 const offset = this.bb!.__offset(this.bb_pos, 50);
321 return offset ? this.bb!.readUint64(this.bb_pos + offset) : this.bb!.createLong(0, 0);
325 const offset = this.bb!.__offset(this.bb_pos, 50);
331 this.bb!.writeUint64(this.bb_pos + offset, value);
336 const offset = this.bb!.__offset(this.bb_pos, 52);
337 return offset ? !!this.bb!.readInt8(this.bb!.__vector(this.bb_pos + offset) + index) : false;
341 const offset = this.bb!.__offset(this.bb_pos, 52);
342 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
346 const offset = this.bb!.__offset(this.bb_pos, 52);
347 …ffset ? new Int8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(thi…
351 const offset = this.bb!.__offset(this.bb_pos, 54);
352 return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 3.14159;
356 const offset = this.bb!.__offset(this.bb_pos, 54);
362 this.bb!.writeFloat32(this.bb_pos + offset, value);
367 const offset = this.bb!.__offset(this.bb_pos, 56);
368 return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 3.0;
372 const offset = this.bb!.__offset(this.bb_pos, 56);
378 this.bb!.writeFloat32(this.bb_pos + offset, value);
383 const offset = this.bb!.__offset(this.bb_pos, 58);
384 return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
388 const offset = this.bb!.__offset(this.bb_pos, 58);
394 this.bb!.writeFloat32(this.bb_pos + offset, value);
401 const offset = this.bb!.__offset(this.bb_pos, 60);
402 …return offset ? this.bb!.__string(this.bb!.__vector(this.bb_pos + offset) + index * 4, optionalEnc…
406 const offset = this.bb!.__offset(this.bb_pos, 60);
407 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
411 const offset = this.bb!.__offset(this.bb_pos, 62);
412 …turn offset ? (obj || new Ability()).__init(this.bb!.__vector(this.bb_pos + offset) + index * 8, t…
416 const offset = this.bb!.__offset(this.bb_pos, 62);
417 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
421 const offset = this.bb!.__offset(this.bb_pos, 64);
422 return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : 0;
426 const offset = this.bb!.__offset(this.bb_pos, 64);
427 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
431 const offset = this.bb!.__offset(this.bb_pos, 64);
432 …fset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(thi…
436 const offset = this.bb!.__offset(this.bb_pos, 66);
437 …return offset ? (obj || new Test()).__init(this.bb!.__vector(this.bb_pos + offset) + index * 4, th…
441 const offset = this.bb!.__offset(this.bb_pos, 66);
442 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
446 const offset = this.bb!.__offset(this.bb_pos, 68);
447 …return offset ? this.bb!.readInt64(this.bb!.__vector(this.bb_pos + offset) + index * 8) : this.bb!…
451 const offset = this.bb!.__offset(this.bb_pos, 68);
452 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
456 const offset = this.bb!.__offset(this.bb_pos, 70);
457 return offset ? this.bb!.readFloat64(this.bb!.__vector(this.bb_pos + offset) + index * 8) : 0;
461 const offset = this.bb!.__offset(this.bb_pos, 70);
462 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
466 const offset = this.bb!.__offset(this.bb_pos, 70);
467 …et ? new Float64Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(thi…
471 const offset = this.bb!.__offset(this.bb_pos, 72);
472 …offset ? (obj || new InParentNamespace()).__init(this.bb!.__indirect(this.bb_pos + offset), this.b…
476 const offset = this.bb!.__offset(this.bb_pos, 74);
477 …(obj || new Referrable()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos + offset) + ind…
481 const offset = this.bb!.__offset(this.bb_pos, 74);
482 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
486 const offset = this.bb!.__offset(this.bb_pos, 76);
487 return offset ? this.bb!.readUint64(this.bb_pos + offset) : this.bb!.createLong(0, 0);
491 const offset = this.bb!.__offset(this.bb_pos, 76);
497 this.bb!.writeUint64(this.bb_pos + offset, value);
502 const offset = this.bb!.__offset(this.bb_pos, 78);
503 …return offset ? this.bb!.readUint64(this.bb!.__vector(this.bb_pos + offset) + index * 8) : this.bb…
507 const offset = this.bb!.__offset(this.bb_pos, 78);
508 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
512 const offset = this.bb!.__offset(this.bb_pos, 80);
513 …(obj || new Referrable()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos + offset) + ind…
517 const offset = this.bb!.__offset(this.bb_pos, 80);
518 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
522 const offset = this.bb!.__offset(this.bb_pos, 82);
523 return offset ? this.bb!.readUint64(this.bb_pos + offset) : this.bb!.createLong(0, 0);
527 const offset = this.bb!.__offset(this.bb_pos, 82);
533 this.bb!.writeUint64(this.bb_pos + offset, value);
538 const offset = this.bb!.__offset(this.bb_pos, 84);
539 …return offset ? this.bb!.readUint64(this.bb!.__vector(this.bb_pos + offset) + index * 8) : this.bb…
543 const offset = this.bb!.__offset(this.bb_pos, 84);
544 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
548 const offset = this.bb!.__offset(this.bb_pos, 86);
549 return offset ? this.bb!.readUint64(this.bb_pos + offset) : this.bb!.createLong(0, 0);
553 const offset = this.bb!.__offset(this.bb_pos, 86);
559 this.bb!.writeUint64(this.bb_pos + offset, value);
564 const offset = this.bb!.__offset(this.bb_pos, 88);
565 …return offset ? this.bb!.readUint64(this.bb!.__vector(this.bb_pos + offset) + index * 8) : this.bb…
569 const offset = this.bb!.__offset(this.bb_pos, 88);
570 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
574 const offset = this.bb!.__offset(this.bb_pos, 90);
575 return offset ? this.bb!.readUint8(this.bb_pos + offset) : AnyUniqueAliases.NONE;
579 const offset = this.bb!.__offset(this.bb_pos, 92);
580 return offset ? this.bb!.__union(obj, this.bb_pos + offset) : null;
584 const offset = this.bb!.__offset(this.bb_pos, 94);
585 return offset ? this.bb!.readUint8(this.bb_pos + offset) : AnyAmbiguousAliases.NONE;
589 const offset = this.bb!.__offset(this.bb_pos, 96);
590 return offset ? this.bb!.__union(obj, this.bb_pos + offset) : null;
594 const offset = this.bb!.__offset(this.bb_pos, 98);
595 return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : 0;
599 const offset = this.bb!.__offset(this.bb_pos, 98);
600 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
604 const offset = this.bb!.__offset(this.bb_pos, 98);
605 …fset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(thi…
609 const offset = this.bb!.__offset(this.bb_pos, 100);
610 return offset ? this.bb!.readInt8(this.bb_pos + offset) : Race.None;
614 const offset = this.bb!.__offset(this.bb_pos, 100);
620 this.bb!.writeInt8(this.bb_pos + offset, value);
625 const offset = this.bb!.__offset(this.bb_pos, 102);
626 return offset ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index) : 0;
630 const offset = this.bb!.__offset(this.bb_pos, 102);
631 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
635 const offset = this.bb!.__offset(this.bb_pos, 102);
636 …fset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(thi…
640 const offset = this.bb!.__offset(this.bb_pos, 104);
641 …set ? (obj || new Stat()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos + offset) + ind…
645 const offset = this.bb!.__offset(this.bb_pos, 104);
646 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
1094 return this.bb!.bytes();
1107 this.bb!.createScalarList(this.inventory.bind(this), this.inventoryLength()),
1115 this.bb!.createObjList(this.test4.bind(this), this.test4Length()),
1116 this.bb!.createScalarList(this.testarrayofstring.bind(this), this.testarrayofstringLength()),
1117 this.bb!.createObjList(this.testarrayoftables.bind(this), this.testarrayoftablesLength()),
1119 …this.bb!.createScalarList(this.testnestedflatbuffer.bind(this), this.testnestedflatbufferLength()),
1130 this.bb!.createScalarList(this.testarrayofbools.bind(this), this.testarrayofboolsLength()),
1134 this.bb!.createScalarList(this.testarrayofstring2.bind(this), this.testarrayofstring2Length()),
1135 …this.bb!.createObjList(this.testarrayofsortedstruct.bind(this), this.testarrayofsortedstructLength…
1136 this.bb!.createScalarList(this.flex.bind(this), this.flexLength()),
1137 this.bb!.createObjList(this.test5.bind(this), this.test5Length()),
1138 this.bb!.createScalarList(this.vectorOfLongs.bind(this), this.vectorOfLongsLength()),
1139 this.bb!.createScalarList(this.vectorOfDoubles.bind(this), this.vectorOfDoublesLength()),
1141 this.bb!.createObjList(this.vectorOfReferrables.bind(this), this.vectorOfReferrablesLength()),
1143 …this.bb!.createScalarList(this.vectorOfWeakReferences.bind(this), this.vectorOfWeakReferencesLengt…
1144 …this.bb!.createObjList(this.vectorOfStrongReferrables.bind(this), this.vectorOfStrongReferrablesLe…
1146 …this.bb!.createScalarList(this.vectorOfCoOwningReferences.bind(this), this.vectorOfCoOwningReferen…
1148 …this.bb!.createScalarList(this.vectorOfNonOwningReferences.bind(this), this.vectorOfNonOwningRefer…
1161 this.bb!.createScalarList(this.vectorOfEnums.bind(this), this.vectorOfEnumsLength()),
1163 …this.bb!.createScalarList(this.testrequirednestedflatbuffer.bind(this), this.testrequirednestedfla…
1164 … this.bb!.createObjList(this.scalarKeySortedTables.bind(this), this.scalarKeySortedTablesLength())
1174 _o.inventory = this.bb!.createScalarList(this.inventory.bind(this), this.inventoryLength());
1182 _o.test4 = this.bb!.createObjList(this.test4.bind(this), this.test4Length());
1183 …_o.testarrayofstring = this.bb!.createScalarList(this.testarrayofstring.bind(this), this.testarray…
1184 …_o.testarrayoftables = this.bb!.createObjList(this.testarrayoftables.bind(this), this.testarrayoft…
1186 …_o.testnestedflatbuffer = this.bb!.createScalarList(this.testnestedflatbuffer.bind(this), this.tes…
1197 …_o.testarrayofbools = this.bb!.createScalarList(this.testarrayofbools.bind(this), this.testarrayof…
1201 …_o.testarrayofstring2 = this.bb!.createScalarList(this.testarrayofstring2.bind(this), this.testarr…
1202 …_o.testarrayofsortedstruct = this.bb!.createObjList(this.testarrayofsortedstruct.bind(this), this.…
1203 _o.flex = this.bb!.createScalarList(this.flex.bind(this), this.flexLength());
1204 _o.test5 = this.bb!.createObjList(this.test5.bind(this), this.test5Length());
1205 …_o.vectorOfLongs = this.bb!.createScalarList(this.vectorOfLongs.bind(this), this.vectorOfLongsLeng…
1206 …_o.vectorOfDoubles = this.bb!.createScalarList(this.vectorOfDoubles.bind(this), this.vectorOfDoubl…
1208 …_o.vectorOfReferrables = this.bb!.createObjList(this.vectorOfReferrables.bind(this), this.vectorOf…
1210 …_o.vectorOfWeakReferences = this.bb!.createScalarList(this.vectorOfWeakReferences.bind(this), this…
1211 …_o.vectorOfStrongReferrables = this.bb!.createObjList(this.vectorOfStrongReferrables.bind(this), t…
1213 …_o.vectorOfCoOwningReferences = this.bb!.createScalarList(this.vectorOfCoOwningReferences.bind(thi…
1215 …_o.vectorOfNonOwningReferences = this.bb!.createScalarList(this.vectorOfNonOwningReferences.bind(t…
1228 …_o.vectorOfEnums = this.bb!.createScalarList(this.vectorOfEnums.bind(this), this.vectorOfEnumsLeng…
1230 …_o.testrequirednestedflatbuffer = this.bb!.createScalarList(this.testrequirednestedflatbuffer.bind…
1231 …_o.scalarKeySortedTables = this.bb!.createObjList(this.scalarKeySortedTables.bind(this), this.scal…