UNPKG

alclient

Version:

A node client for interacting with Adventure Land - The Code MMORPG. This package extends the functionality of 'alclient' by managing a mongo database.

17 lines (16 loc) 524 B
import type { Document, Model } from "mongoose"; import type { ServerRegion, ServerIdentifier } from "../../definitions/adventureland.js"; import type { MapName } from "../../definitions/adventureland-data.js"; export interface IDeath { name: string; cause: string; map: MapName; x: number; y: number; serverRegion: ServerRegion; serverIdentifier: ServerIdentifier; time: number; } export interface IDeathDocument extends IDeath, Document { } export type IDeathModel = Model<IDeathDocument>;