Lines Matching refs:offset
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);
47 if (offset === 0) {
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);
59 if (offset === 0) {
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);
87 if (offset === 0) {
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 …return offset ? (obj || new Monster()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + of…
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);
155 if (offset === 0) {
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);
167 if (offset === 0) {
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);
179 if (offset === 0) {
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) : BigInt('0');
190 const offset = this.bb.__offset(this.bb_pos, 40);
191 if (offset === 0) {
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) : BigInt('0');
202 const offset = this.bb.__offset(this.bb_pos, 42);
203 if (offset === 0) {
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);
215 if (offset === 0) {
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);
227 if (offset === 0) {
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) : BigInt('0');
238 const offset = this.bb.__offset(this.bb_pos, 48);
239 if (offset === 0) {
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) : BigInt('0');
250 const offset = this.bb.__offset(this.bb_pos, 50);
251 if (offset === 0) {
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);
275 if (offset === 0) {
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);
287 if (offset === 0) {
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);
299 if (offset === 0) {
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 …return offset ? (obj || new Ability()).__init(this.bb.__vector(this.bb_pos + offset) + index * 8, …
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) : BigInt(0);
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 …offset ? new Float64Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(th…
362 const offset = this.bb.__offset(this.bb_pos, 72);
363 …return offset ? (obj || new InParentNamespace()).__init(this.bb.__indirect(this.bb_pos + offset), …
366 const offset = this.bb.__offset(this.bb_pos, 74);
367 …return offset ? (obj || new Referrable()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos +…
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) : BigInt('0');
378 const offset = this.bb.__offset(this.bb_pos, 76);
379 if (offset === 0) {
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) : BigInt(0);
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 …return offset ? (obj || new Referrable()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos +…
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) : BigInt('0');
406 const offset = this.bb.__offset(this.bb_pos, 82);
407 if (offset === 0) {
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) : BigInt(0);
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) : BigInt('0');
426 const offset = this.bb.__offset(this.bb_pos, 86);
427 if (offset === 0) {
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) : BigInt(0);
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);
475 if (offset === 0) {
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 …return offset ? (obj || new Stat()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offse…
498 const offset = this.bb.__offset(this.bb_pos, 104);
499 return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
502 const offset = this.bb.__offset(this.bb_pos, 106);
503 return offset ? (obj || new Test()).__init(this.bb_pos + offset, this.bb) : null;
506 const offset = this.bb.__offset(this.bb_pos, 108);
507 return offset ? this.bb.readUint64(this.bb_pos + offset) : BigInt('0');
510 const offset = this.bb.__offset(this.bb_pos, 108);
511 if (offset === 0) {
514 this.bb.writeUint64(this.bb_pos + offset, value);
518 const offset = this.bb.__offset(this.bb_pos, 110);
519 return offset ? this.bb.readUint64(this.bb_pos + offset) : BigInt('2');
522 const offset = this.bb.__offset(this.bb_pos, 110);
523 if (offset === 0) {
526 this.bb.writeUint64(this.bb_pos + offset, value);
874 const offset = builder.endObject();
875 builder.requiredField(offset, 10); // name
876 return offset;
878 static finishMonsterBuffer(builder, offset) { argument
879 builder.finish(offset, 'MONS');
881 static finishSizePrefixedMonsterBuffer(builder, offset) { argument
882 builder.finish(offset, 'MONS', true);