• Home
  • Raw
  • Download

Lines Matching refs:offset

46   const offset = this.bb!.__offset(this.bb_pos, 4);  constant
47 return offset ? (obj || new Vec3()).__init(this.bb_pos + offset, this.bb!) : null;
51 const offset = this.bb!.__offset(this.bb_pos, 6); constant
52 return offset ? this.bb!.readInt16(this.bb_pos + offset) : 150;
56 const offset = this.bb!.__offset(this.bb_pos, 6); constant
58 if (offset === 0) {
62 this.bb!.writeInt16(this.bb_pos + offset, value);
67 const offset = this.bb!.__offset(this.bb_pos, 8); constant
68 return offset ? this.bb!.readInt16(this.bb_pos + offset) : 100;
72 const offset = this.bb!.__offset(this.bb_pos, 8); constant
74 if (offset === 0) {
78 this.bb!.writeInt16(this.bb_pos + offset, value);
85 const offset = this.bb!.__offset(this.bb_pos, 10); constant
86 return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
90 const offset = this.bb!.__offset(this.bb_pos, 14); constant
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); constant
96 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
100 const offset = this.bb!.__offset(this.bb_pos, 14); constant
101offset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(t…
105 const offset = this.bb!.__offset(this.bb_pos, 16); constant
106 return offset ? this.bb!.readUint8(this.bb_pos + offset) : Color.Blue;
110 const offset = this.bb!.__offset(this.bb_pos, 16); constant
112 if (offset === 0) {
116 this.bb!.writeUint8(this.bb_pos + offset, value);
121 const offset = this.bb!.__offset(this.bb_pos, 18); constant
122 return offset ? this.bb!.readUint8(this.bb_pos + offset) : Any.NONE;
126 const offset = this.bb!.__offset(this.bb_pos, 20); constant
127 return offset ? this.bb!.__union(obj, this.bb_pos + offset) : null;
131 const offset = this.bb!.__offset(this.bb_pos, 22); constant
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); constant
137 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
143 const offset = this.bb!.__offset(this.bb_pos, 24); constant
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); constant
149 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
157 const offset = this.bb!.__offset(this.bb_pos, 26); constant
158 …return offset ? (obj || new Monster()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos +
162 const offset = this.bb!.__offset(this.bb_pos, 26); constant
163 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
167 const offset = this.bb!.__offset(this.bb_pos, 28); constant
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); constant
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); constant
178 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
182 const offset = this.bb!.__offset(this.bb_pos, 30); constant
183offset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(t…
187 const offset = this.bb!.__offset(this.bb_pos, 32); constant
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); constant
193 return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
197 const offset = this.bb!.__offset(this.bb_pos, 34); constant
199 if (offset === 0) {
203 this.bb!.writeInt8(this.bb_pos + offset, +value);
208 const offset = this.bb!.__offset(this.bb_pos, 36); constant
209 return offset ? this.bb!.readInt32(this.bb_pos + offset) : 0;
213 const offset = this.bb!.__offset(this.bb_pos, 36); constant
215 if (offset === 0) {
219 this.bb!.writeInt32(this.bb_pos + offset, value);
224 const offset = this.bb!.__offset(this.bb_pos, 38); constant
225 return offset ? this.bb!.readUint32(this.bb_pos + offset) : 0;
229 const offset = this.bb!.__offset(this.bb_pos, 38); constant
231 if (offset === 0) {
235 this.bb!.writeUint32(this.bb_pos + offset, value);
240 const offset = this.bb!.__offset(this.bb_pos, 40); constant
241 return offset ? this.bb!.readInt64(this.bb_pos + offset) : BigInt('0');
245 const offset = this.bb!.__offset(this.bb_pos, 40); constant
247 if (offset === 0) {
251 this.bb!.writeInt64(this.bb_pos + offset, value);
256 const offset = this.bb!.__offset(this.bb_pos, 42); constant
257 return offset ? this.bb!.readUint64(this.bb_pos + offset) : BigInt('0');
261 const offset = this.bb!.__offset(this.bb_pos, 42); constant
263 if (offset === 0) {
267 this.bb!.writeUint64(this.bb_pos + offset, value);
272 const offset = this.bb!.__offset(this.bb_pos, 44); constant
273 return offset ? this.bb!.readInt32(this.bb_pos + offset) : 0;
277 const offset = this.bb!.__offset(this.bb_pos, 44); constant
279 if (offset === 0) {
283 this.bb!.writeInt32(this.bb_pos + offset, value);
288 const offset = this.bb!.__offset(this.bb_pos, 46); constant
289 return offset ? this.bb!.readUint32(this.bb_pos + offset) : 0;
293 const offset = this.bb!.__offset(this.bb_pos, 46); constant
295 if (offset === 0) {
299 this.bb!.writeUint32(this.bb_pos + offset, value);
304 const offset = this.bb!.__offset(this.bb_pos, 48); constant
305 return offset ? this.bb!.readInt64(this.bb_pos + offset) : BigInt('0');
309 const offset = this.bb!.__offset(this.bb_pos, 48); constant
311 if (offset === 0) {
315 this.bb!.writeInt64(this.bb_pos + offset, value);
320 const offset = this.bb!.__offset(this.bb_pos, 50); constant
321 return offset ? this.bb!.readUint64(this.bb_pos + offset) : BigInt('0');
325 const offset = this.bb!.__offset(this.bb_pos, 50); constant
327 if (offset === 0) {
331 this.bb!.writeUint64(this.bb_pos + offset, value);
336 const offset = this.bb!.__offset(this.bb_pos, 52); constant
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); constant
342 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
346 const offset = this.bb!.__offset(this.bb_pos, 52); constant
347offset ? new Int8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(th…
351 const offset = this.bb!.__offset(this.bb_pos, 54); constant
352 return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 3.14159;
356 const offset = this.bb!.__offset(this.bb_pos, 54); constant
358 if (offset === 0) {
362 this.bb!.writeFloat32(this.bb_pos + offset, value);
367 const offset = this.bb!.__offset(this.bb_pos, 56); constant
368 return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 3.0;
372 const offset = this.bb!.__offset(this.bb_pos, 56); constant
374 if (offset === 0) {
378 this.bb!.writeFloat32(this.bb_pos + offset, value);
383 const offset = this.bb!.__offset(this.bb_pos, 58); constant
384 return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
388 const offset = this.bb!.__offset(this.bb_pos, 58); constant
390 if (offset === 0) {
394 this.bb!.writeFloat32(this.bb_pos + offset, value);
401 const offset = this.bb!.__offset(this.bb_pos, 60); constant
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); constant
407 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
411 const offset = this.bb!.__offset(this.bb_pos, 62); constant
412 …return offset ? (obj || new Ability()).__init(this.bb!.__vector(this.bb_pos + offset) + index * 8,…
416 const offset = this.bb!.__offset(this.bb_pos, 62); constant
417 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
421 const offset = this.bb!.__offset(this.bb_pos, 64); constant
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); constant
427 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
431 const offset = this.bb!.__offset(this.bb_pos, 64); constant
432offset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(t…
436 const offset = this.bb!.__offset(this.bb_pos, 66); constant
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); constant
442 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
446 const offset = this.bb!.__offset(this.bb_pos, 68); constant
447 …return offset ? this.bb!.readInt64(this.bb!.__vector(this.bb_pos + offset) + index * 8) : BigInt(0…
451 const offset = this.bb!.__offset(this.bb_pos, 68); constant
452 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
456 const offset = this.bb!.__offset(this.bb_pos, 70); constant
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); constant
462 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
466 const offset = this.bb!.__offset(this.bb_pos, 70); constant
467offset ? new Float64Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector…
471 const offset = this.bb!.__offset(this.bb_pos, 72); constant
472 …return offset ? (obj || new InParentNamespace()).__init(this.bb!.__indirect(this.bb_pos + offset),…
476 const offset = this.bb!.__offset(this.bb_pos, 74); constant
477 …return offset ? (obj || new Referrable()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos…
481 const offset = this.bb!.__offset(this.bb_pos, 74); constant
482 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
486 const offset = this.bb!.__offset(this.bb_pos, 76); constant
487 return offset ? this.bb!.readUint64(this.bb_pos + offset) : BigInt('0');
491 const offset = this.bb!.__offset(this.bb_pos, 76); constant
493 if (offset === 0) {
497 this.bb!.writeUint64(this.bb_pos + offset, value);
502 const offset = this.bb!.__offset(this.bb_pos, 78); constant
503 …return offset ? this.bb!.readUint64(this.bb!.__vector(this.bb_pos + offset) + index * 8) : BigInt(…
507 const offset = this.bb!.__offset(this.bb_pos, 78); constant
508 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
512 const offset = this.bb!.__offset(this.bb_pos, 80); constant
513 …return offset ? (obj || new Referrable()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos…
517 const offset = this.bb!.__offset(this.bb_pos, 80); constant
518 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
522 const offset = this.bb!.__offset(this.bb_pos, 82); constant
523 return offset ? this.bb!.readUint64(this.bb_pos + offset) : BigInt('0');
527 const offset = this.bb!.__offset(this.bb_pos, 82); constant
529 if (offset === 0) {
533 this.bb!.writeUint64(this.bb_pos + offset, value);
538 const offset = this.bb!.__offset(this.bb_pos, 84); constant
539 …return offset ? this.bb!.readUint64(this.bb!.__vector(this.bb_pos + offset) + index * 8) : BigInt(…
543 const offset = this.bb!.__offset(this.bb_pos, 84); constant
544 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
548 const offset = this.bb!.__offset(this.bb_pos, 86); constant
549 return offset ? this.bb!.readUint64(this.bb_pos + offset) : BigInt('0');
553 const offset = this.bb!.__offset(this.bb_pos, 86); constant
555 if (offset === 0) {
559 this.bb!.writeUint64(this.bb_pos + offset, value);
564 const offset = this.bb!.__offset(this.bb_pos, 88); constant
565 …return offset ? this.bb!.readUint64(this.bb!.__vector(this.bb_pos + offset) + index * 8) : BigInt(…
569 const offset = this.bb!.__offset(this.bb_pos, 88); constant
570 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
574 const offset = this.bb!.__offset(this.bb_pos, 90); constant
575 return offset ? this.bb!.readUint8(this.bb_pos + offset) : AnyUniqueAliases.NONE;
579 const offset = this.bb!.__offset(this.bb_pos, 92); constant
580 return offset ? this.bb!.__union(obj, this.bb_pos + offset) : null;
584 const offset = this.bb!.__offset(this.bb_pos, 94); constant
585 return offset ? this.bb!.readUint8(this.bb_pos + offset) : AnyAmbiguousAliases.NONE;
589 const offset = this.bb!.__offset(this.bb_pos, 96); constant
590 return offset ? this.bb!.__union(obj, this.bb_pos + offset) : null;
594 const offset = this.bb!.__offset(this.bb_pos, 98); constant
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); constant
600 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
604 const offset = this.bb!.__offset(this.bb_pos, 98); constant
605offset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(t…
609 const offset = this.bb!.__offset(this.bb_pos, 100); constant
610 return offset ? this.bb!.readInt8(this.bb_pos + offset) : Race.None;
614 const offset = this.bb!.__offset(this.bb_pos, 100); constant
616 if (offset === 0) {
620 this.bb!.writeInt8(this.bb_pos + offset, value);
625 const offset = this.bb!.__offset(this.bb_pos, 102); constant
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); constant
631 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
635 const offset = this.bb!.__offset(this.bb_pos, 102); constant
636offset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(t…
640 const offset = this.bb!.__offset(this.bb_pos, 104); constant
641 …return offset ? (obj || new Stat()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos + off…
645 const offset = this.bb!.__offset(this.bb_pos, 104); constant
646 return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
650 const offset = this.bb!.__offset(this.bb_pos, 106); constant
651 return offset ? (obj || new Test()).__init(this.bb_pos + offset, this.bb!) : null;
655 const offset = this.bb!.__offset(this.bb_pos, 108); constant
656 return offset ? this.bb!.readUint64(this.bb_pos + offset) : BigInt('0');
660 const offset = this.bb!.__offset(this.bb_pos, 108); constant
662 if (offset === 0) {
666 this.bb!.writeUint64(this.bb_pos + offset, value);
671 const offset = this.bb!.__offset(this.bb_pos, 110); constant
672 return offset ? this.bb!.readUint64(this.bb_pos + offset) : BigInt('2');
676 const offset = this.bb!.__offset(this.bb_pos, 110); constant
678 if (offset === 0) {
682 this.bb!.writeUint64(this.bb_pos + offset, value);
1128 const offset = builder.endObject(); constant
1129 builder.requiredField(offset, 10) // name
1130 return offset;
1133 static finishMonsterBuffer(builder:flatbuffers.Builder, offset:flatbuffers.Offset) {
1134 builder.finish(offset, 'MONS');
1137 static finishSizePrefixedMonsterBuffer(builder:flatbuffers.Builder, offset:flatbuffers.Offset) {
1138 builder.finish(offset, 'MONS', true);