mirror of
https://github.com/YuzuZensai/VRC-Circle.git
synced 2026-09-13 19:08:52 +00:00
✨ feat: Create Instance, Auto Instance Region
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
import type { InstanceRegion } from "./instance";
|
||||
|
||||
export type PreferredRegion = InstanceRegion | "auto";
|
||||
|
||||
export interface AppConfig {
|
||||
version: string;
|
||||
gamePath: string | null;
|
||||
detectedGamePath: string | null;
|
||||
preferredRegion: PreferredRegion;
|
||||
}
|
||||
|
||||
export interface RegionPing {
|
||||
region: InstanceRegion;
|
||||
ms: number | null;
|
||||
}
|
||||
|
||||
@@ -12,4 +12,15 @@ export interface Instance {
|
||||
full: boolean;
|
||||
queueEnabled: boolean;
|
||||
queueSize: number;
|
||||
secureName?: string;
|
||||
shortName?: string | null;
|
||||
}
|
||||
|
||||
export type CreateInstanceType = "public" | "friends+" | "friends" | "invite" | "invite+";
|
||||
export type InstanceRegion = "us" | "use" | "eu" | "jp";
|
||||
|
||||
export interface CreateInstanceInput {
|
||||
worldId: string;
|
||||
type: CreateInstanceType;
|
||||
region: InstanceRegion;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user