@mafiahub/types 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/framework/execution_environment.d.ts +11 -0
- package/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Runtime-side flags. Available on server and client. */
|
|
2
|
+
declare const ExecutionEnvironment: {
|
|
3
|
+
/** True in the sandboxed client scripting runtime. */
|
|
4
|
+
readonly isClient: boolean;
|
|
5
|
+
/** True in the authoritative server scripting runtime. */
|
|
6
|
+
readonly isServer: boolean;
|
|
7
|
+
/** Local Framework release version. */
|
|
8
|
+
readonly frameworkVersion: string;
|
|
9
|
+
/** Local mod version from InstanceOptions.modVersion; empty when unset. */
|
|
10
|
+
readonly modVersion: string;
|
|
11
|
+
};
|
package/index.d.ts
CHANGED