• Home
  • Raw
  • Download

Lines Matching refs:bb

19         this.bb = null;
22 __init(i, bb) { argument
24 this.bb = bb;
27 static getRootAsMonster(bb, obj) { argument
28 return (obj || new Monster()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
30 static getSizePrefixedRootAsMonster(bb, obj) { argument
31 bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
32 return (obj || new Monster()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
34 static bufferHasIdentifier(bb) { argument
35 return bb.__has_identifier('MONS');
38 const offset = this.bb.__offset(this.bb_pos, 4);
39 return offset ? (obj || new Vec3()).__init(this.bb_pos + offset, this.bb) : null;
42 const offset = this.bb.__offset(this.bb_pos, 6);
43 return offset ? this.bb.readInt16(this.bb_pos + offset) : 150;
46 const offset = this.bb.__offset(this.bb_pos, 6);
50 this.bb.writeInt16(this.bb_pos + offset, value);
54 const offset = this.bb.__offset(this.bb_pos, 8);
55 return offset ? this.bb.readInt16(this.bb_pos + offset) : 100;
58 const offset = this.bb.__offset(this.bb_pos, 8);
62 this.bb.writeInt16(this.bb_pos + offset, value);
66 const offset = this.bb.__offset(this.bb_pos, 10);
67 return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
70 const offset = this.bb.__offset(this.bb_pos, 14);
71 return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
74 const offset = this.bb.__offset(this.bb_pos, 14);
75 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
78 const offset = this.bb.__offset(this.bb_pos, 14);
79 …offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this…
82 const offset = this.bb.__offset(this.bb_pos, 16);
83 return offset ? this.bb.readUint8(this.bb_pos + offset) : Color.Blue;
86 const offset = this.bb.__offset(this.bb_pos, 16);
90 this.bb.writeUint8(this.bb_pos + offset, value);
94 const offset = this.bb.__offset(this.bb_pos, 18);
95 return offset ? this.bb.readUint8(this.bb_pos + offset) : Any.NONE;
98 const offset = this.bb.__offset(this.bb_pos, 20);
99 return offset ? this.bb.__union(obj, this.bb_pos + offset) : null;
102 const offset = this.bb.__offset(this.bb_pos, 22);
103 …return offset ? (obj || new Test()).__init(this.bb.__vector(this.bb_pos + offset) + index * 4, thi…
106 const offset = this.bb.__offset(this.bb_pos, 22);
107 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
110 const offset = this.bb.__offset(this.bb_pos, 24);
111 …return offset ? this.bb.__string(this.bb.__vector(this.bb_pos + offset) + index * 4, optionalEncod…
114 const offset = this.bb.__offset(this.bb_pos, 24);
115 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
122 const offset = this.bb.__offset(this.bb_pos, 26);
123 …t ? (obj || new Monster()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + inde…
126 const offset = this.bb.__offset(this.bb_pos, 26);
127 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
130 const offset = this.bb.__offset(this.bb_pos, 28);
131 …return offset ? (obj || new Monster()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) :…
134 const offset = this.bb.__offset(this.bb_pos, 30);
135 return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
138 const offset = this.bb.__offset(this.bb_pos, 30);
139 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
142 const offset = this.bb.__offset(this.bb_pos, 30);
143 …offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this…
146 const offset = this.bb.__offset(this.bb_pos, 32);
147 …return offset ? (obj || new Stat()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : nu…
150 const offset = this.bb.__offset(this.bb_pos, 34);
151 return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false;
154 const offset = this.bb.__offset(this.bb_pos, 34);
158 this.bb.writeInt8(this.bb_pos + offset, +value);
162 const offset = this.bb.__offset(this.bb_pos, 36);
163 return offset ? this.bb.readInt32(this.bb_pos + offset) : 0;
166 const offset = this.bb.__offset(this.bb_pos, 36);
170 this.bb.writeInt32(this.bb_pos + offset, value);
174 const offset = this.bb.__offset(this.bb_pos, 38);
175 return offset ? this.bb.readUint32(this.bb_pos + offset) : 0;
178 const offset = this.bb.__offset(this.bb_pos, 38);
182 this.bb.writeUint32(this.bb_pos + offset, value);
186 const offset = this.bb.__offset(this.bb_pos, 40);
187 return offset ? this.bb.readInt64(this.bb_pos + offset) : this.bb.createLong(0, 0);
190 const offset = this.bb.__offset(this.bb_pos, 40);
194 this.bb.writeInt64(this.bb_pos + offset, value);
198 const offset = this.bb.__offset(this.bb_pos, 42);
199 return offset ? this.bb.readUint64(this.bb_pos + offset) : this.bb.createLong(0, 0);
202 const offset = this.bb.__offset(this.bb_pos, 42);
206 this.bb.writeUint64(this.bb_pos + offset, value);
210 const offset = this.bb.__offset(this.bb_pos, 44);
211 return offset ? this.bb.readInt32(this.bb_pos + offset) : 0;
214 const offset = this.bb.__offset(this.bb_pos, 44);
218 this.bb.writeInt32(this.bb_pos + offset, value);
222 const offset = this.bb.__offset(this.bb_pos, 46);
223 return offset ? this.bb.readUint32(this.bb_pos + offset) : 0;
226 const offset = this.bb.__offset(this.bb_pos, 46);
230 this.bb.writeUint32(this.bb_pos + offset, value);
234 const offset = this.bb.__offset(this.bb_pos, 48);
235 return offset ? this.bb.readInt64(this.bb_pos + offset) : this.bb.createLong(0, 0);
238 const offset = this.bb.__offset(this.bb_pos, 48);
242 this.bb.writeInt64(this.bb_pos + offset, value);
246 const offset = this.bb.__offset(this.bb_pos, 50);
247 return offset ? this.bb.readUint64(this.bb_pos + offset) : this.bb.createLong(0, 0);
250 const offset = this.bb.__offset(this.bb_pos, 50);
254 this.bb.writeUint64(this.bb_pos + offset, value);
258 const offset = this.bb.__offset(this.bb_pos, 52);
259 return offset ? !!this.bb.readInt8(this.bb.__vector(this.bb_pos + offset) + index) : false;
262 const offset = this.bb.__offset(this.bb_pos, 52);
263 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
266 const offset = this.bb.__offset(this.bb_pos, 52);
267 … offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this…
270 const offset = this.bb.__offset(this.bb_pos, 54);
271 return offset ? this.bb.readFloat32(this.bb_pos + offset) : 3.14159;
274 const offset = this.bb.__offset(this.bb_pos, 54);
278 this.bb.writeFloat32(this.bb_pos + offset, value);
282 const offset = this.bb.__offset(this.bb_pos, 56);
283 return offset ? this.bb.readFloat32(this.bb_pos + offset) : 3.0;
286 const offset = this.bb.__offset(this.bb_pos, 56);
290 this.bb.writeFloat32(this.bb_pos + offset, value);
294 const offset = this.bb.__offset(this.bb_pos, 58);
295 return offset ? this.bb.readFloat32(this.bb_pos + offset) : 0.0;
298 const offset = this.bb.__offset(this.bb_pos, 58);
302 this.bb.writeFloat32(this.bb_pos + offset, value);
306 const offset = this.bb.__offset(this.bb_pos, 60);
307 …return offset ? this.bb.__string(this.bb.__vector(this.bb_pos + offset) + index * 4, optionalEncod…
310 const offset = this.bb.__offset(this.bb_pos, 60);
311 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
314 const offset = this.bb.__offset(this.bb_pos, 62);
315 …turn offset ? (obj || new Ability()).__init(this.bb.__vector(this.bb_pos + offset) + index * 8, th…
318 const offset = this.bb.__offset(this.bb_pos, 62);
319 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
322 const offset = this.bb.__offset(this.bb_pos, 64);
323 return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
326 const offset = this.bb.__offset(this.bb_pos, 64);
327 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
330 const offset = this.bb.__offset(this.bb_pos, 64);
331 …offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this…
334 const offset = this.bb.__offset(this.bb_pos, 66);
335 …return offset ? (obj || new Test()).__init(this.bb.__vector(this.bb_pos + offset) + index * 4, thi…
338 const offset = this.bb.__offset(this.bb_pos, 66);
339 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
342 const offset = this.bb.__offset(this.bb_pos, 68);
343 …return offset ? this.bb.readInt64(this.bb.__vector(this.bb_pos + offset) + index * 8) : this.bb.cr…
346 const offset = this.bb.__offset(this.bb_pos, 68);
347 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
350 const offset = this.bb.__offset(this.bb_pos, 70);
351 return offset ? this.bb.readFloat64(this.bb.__vector(this.bb_pos + offset) + index * 8) : 0;
354 const offset = this.bb.__offset(this.bb_pos, 70);
355 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
358 const offset = this.bb.__offset(this.bb_pos, 70);
359 …fset ? new Float64Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this…
362 const offset = this.bb.__offset(this.bb_pos, 72);
363 …offset ? (obj || new InParentNamespace()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb
366 const offset = this.bb.__offset(this.bb_pos, 74);
367 … (obj || new Referrable()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + inde…
370 const offset = this.bb.__offset(this.bb_pos, 74);
371 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
374 const offset = this.bb.__offset(this.bb_pos, 76);
375 return offset ? this.bb.readUint64(this.bb_pos + offset) : this.bb.createLong(0, 0);
378 const offset = this.bb.__offset(this.bb_pos, 76);
382 this.bb.writeUint64(this.bb_pos + offset, value);
386 const offset = this.bb.__offset(this.bb_pos, 78);
387 …return offset ? this.bb.readUint64(this.bb.__vector(this.bb_pos + offset) + index * 8) : this.bb.c…
390 const offset = this.bb.__offset(this.bb_pos, 78);
391 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
394 const offset = this.bb.__offset(this.bb_pos, 80);
395 … (obj || new Referrable()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + inde…
398 const offset = this.bb.__offset(this.bb_pos, 80);
399 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
402 const offset = this.bb.__offset(this.bb_pos, 82);
403 return offset ? this.bb.readUint64(this.bb_pos + offset) : this.bb.createLong(0, 0);
406 const offset = this.bb.__offset(this.bb_pos, 82);
410 this.bb.writeUint64(this.bb_pos + offset, value);
414 const offset = this.bb.__offset(this.bb_pos, 84);
415 …return offset ? this.bb.readUint64(this.bb.__vector(this.bb_pos + offset) + index * 8) : this.bb.c…
418 const offset = this.bb.__offset(this.bb_pos, 84);
419 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
422 const offset = this.bb.__offset(this.bb_pos, 86);
423 return offset ? this.bb.readUint64(this.bb_pos + offset) : this.bb.createLong(0, 0);
426 const offset = this.bb.__offset(this.bb_pos, 86);
430 this.bb.writeUint64(this.bb_pos + offset, value);
434 const offset = this.bb.__offset(this.bb_pos, 88);
435 …return offset ? this.bb.readUint64(this.bb.__vector(this.bb_pos + offset) + index * 8) : this.bb.c…
438 const offset = this.bb.__offset(this.bb_pos, 88);
439 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
442 const offset = this.bb.__offset(this.bb_pos, 90);
443 return offset ? this.bb.readUint8(this.bb_pos + offset) : AnyUniqueAliases.NONE;
446 const offset = this.bb.__offset(this.bb_pos, 92);
447 return offset ? this.bb.__union(obj, this.bb_pos + offset) : null;
450 const offset = this.bb.__offset(this.bb_pos, 94);
451 return offset ? this.bb.readUint8(this.bb_pos + offset) : AnyAmbiguousAliases.NONE;
454 const offset = this.bb.__offset(this.bb_pos, 96);
455 return offset ? this.bb.__union(obj, this.bb_pos + offset) : null;
458 const offset = this.bb.__offset(this.bb_pos, 98);
459 return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
462 const offset = this.bb.__offset(this.bb_pos, 98);
463 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
466 const offset = this.bb.__offset(this.bb_pos, 98);
467 …offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this…
470 const offset = this.bb.__offset(this.bb_pos, 100);
471 return offset ? this.bb.readInt8(this.bb_pos + offset) : Race.None;
474 const offset = this.bb.__offset(this.bb_pos, 100);
478 this.bb.writeInt8(this.bb_pos + offset, value);
482 const offset = this.bb.__offset(this.bb_pos, 102);
483 return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
486 const offset = this.bb.__offset(this.bb_pos, 102);
487 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
490 const offset = this.bb.__offset(this.bb_pos, 102);
491 …offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this…
494 const offset = this.bb.__offset(this.bb_pos, 104);
495 …fset ? (obj || new Stat()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + inde…
498 const offset = this.bb.__offset(this.bb_pos, 104);
499 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
848 return this.bb.bytes();
854 …l ? this.pos().unpack() : null), this.mana(), this.hp(), this.name(), this.bb.createScalarList(thi…
860bb.createObjList(this.test4.bind(this), this.test4Length()), this.bb.createScalarList(this.testarr…
872bb.createScalarList(this.vectorOfEnums.bind(this), this.vectorOfEnumsLength()), this.signedEnum(),…
879 _o.inventory = this.bb.createScalarList(this.inventory.bind(this), this.inventoryLength());
889 _o.test4 = this.bb.createObjList(this.test4.bind(this), this.test4Length());
890 …_o.testarrayofstring = this.bb.createScalarList(this.testarrayofstring.bind(this), this.testarrayo…
891 …_o.testarrayoftables = this.bb.createObjList(this.testarrayoftables.bind(this), this.testarrayofta…
893 …_o.testnestedflatbuffer = this.bb.createScalarList(this.testnestedflatbuffer.bind(this), this.test…
904 …_o.testarrayofbools = this.bb.createScalarList(this.testarrayofbools.bind(this), this.testarrayofb…
908 …_o.testarrayofstring2 = this.bb.createScalarList(this.testarrayofstring2.bind(this), this.testarra…
909 …_o.testarrayofsortedstruct = this.bb.createObjList(this.testarrayofsortedstruct.bind(this), this.t…
910 _o.flex = this.bb.createScalarList(this.flex.bind(this), this.flexLength());
911 _o.test5 = this.bb.createObjList(this.test5.bind(this), this.test5Length());
912 …_o.vectorOfLongs = this.bb.createScalarList(this.vectorOfLongs.bind(this), this.vectorOfLongsLengt…
913 …_o.vectorOfDoubles = this.bb.createScalarList(this.vectorOfDoubles.bind(this), this.vectorOfDouble…
915 …_o.vectorOfReferrables = this.bb.createObjList(this.vectorOfReferrables.bind(this), this.vectorOfR…
917 …_o.vectorOfWeakReferences = this.bb.createScalarList(this.vectorOfWeakReferences.bind(this), this.…
918 …_o.vectorOfStrongReferrables = this.bb.createObjList(this.vectorOfStrongReferrables.bind(this), th…
920 …_o.vectorOfCoOwningReferences = this.bb.createScalarList(this.vectorOfCoOwningReferences.bind(this…
922 …_o.vectorOfNonOwningReferences = this.bb.createScalarList(this.vectorOfNonOwningReferences.bind(th…
939 …_o.vectorOfEnums = this.bb.createScalarList(this.vectorOfEnums.bind(this), this.vectorOfEnumsLengt…
941 …_o.testrequirednestedflatbuffer = this.bb.createScalarList(this.testrequirednestedflatbuffer.bind(…
942 …_o.scalarKeySortedTables = this.bb.createObjList(this.scalarKeySortedTables.bind(this), this.scala…