aboutsummaryrefslogtreecommitdiff
path: root/src/server/Client.ts
diff options
context:
space:
mode:
authorMohammad Amoush <51237606+jameshu111@users.noreply.github.com>2023-03-18 16:56:13 -0400
committerMohammad Amoush <51237606+jameshu111@users.noreply.github.com>2023-03-18 16:56:13 -0400
commitd51a57e1d0823fc08a90b73d427ab5e35b72422f (patch)
treeef9f03ab6eef595567f800747d280a033dc69980 /src/server/Client.ts
parent0f3f5fa7f63dddbfbf095f65b05f89cf27cbc6cf (diff)
Add operations counter
Diffstat (limited to 'src/server/Client.ts')
-rw-r--r--src/server/Client.ts13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/server/Client.ts b/src/server/Client.ts
index e6f953712..be1ffc2ba 100644
--- a/src/server/Client.ts
+++ b/src/server/Client.ts
@@ -1,11 +1,22 @@
-import { computed } from "mobx";
+import { action, computed } from "mobx";
export class Client {
private _guid: string;
+ // private operations: number;
constructor(guid: string) {
this._guid = guid;
+ // this.operations = 0;
}
+ // @computed public get OPERATIONS(): number {
+ // return this.operations;
+ // }
+
+ // @action
+ // public setOperations(newOperations: number): void {
+ // this.operations = newOperations;
+ // }
+
@computed public get GUID(): string { return this._guid; }
} \ No newline at end of file