UNPKG

frost-api

Version:

A wrapper for Rust Console Edition (RCE) that allows you to use the websocket and API from G-Portal.

17 lines (16 loc) 364 B
import type { PlayerKillType } from "../constants"; export interface WSRequest { identifier: string; region: "US" | "EU"; sid: number; } export interface WSMessage { type: "connection_ack" | "data" | "ka" | "error"; payload: any; id: string; } export interface PlayerKillData { id: string; name: string; type: PlayerKillType; }