Files
discord-decomp/modules/telemetry_ring/native/channels/BaseTelemetryChannel.tsx
T
2026-11-01 12:12:55 +02:00

24 lines
547 B
TypeScript

// Metro module 13250 (f13251).
class BaseTelemetryChannel {
constructor(a0, a1) {
this.native = a0;
this.channels = a1;
}
append(a0, a1, a2, a3) {
const r7 = a3 == null ? Date.now() : a3;
let r6 = a2;
const native = this.native;
if (a2 == null) {
r6 = null;
}
native.append(a0, r7, r6, a1 == null ? null : a1, this.channels);
}
snapshot(a0, a1, a2) {
return this.native.snapshot(this.channels, a0, a1, a2);
}
clearAll() {
this.native.clear();
}
}
export default BaseTelemetryChannel;