refac: rsc -> rc

This commit is contained in:
2024-03-15 16:13:27 +00:00
parent 6a6bdba08b
commit 78bcc95e2e
10 changed files with 46 additions and 46 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ export abstract class LazyEntityUpdater<Entity extends ValidEntity>{
protected abstract readonly _raw: Entity;
protected abstract readonly rsc: IResourceController;
protected abstract readonly rc: IResourceController;
public abstract bootstrap(): void;
@@ -21,7 +21,7 @@ export abstract class LazyEntityUpdater<Entity extends ValidEntity>{
protected forceUpdate(callback: (raw: Entity) => void) {
callback(this._raw);
this.rsc.reserveUpdate(this);
this.rc.reserveUpdate(this);
}
public update(callback: (raw: Entity) => void) {
@@ -34,6 +34,6 @@ export abstract class LazyEntityUpdater<Entity extends ValidEntity>{
throw new Error(`${String(indirectName)} change by update() is not allowed`);
}
}
this.rsc.reserveUpdate(this);
this.rc.reserveUpdate(this);
}
}