XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
UTF-8
import type { Types } from "mongoose";
import type { IMongoDateWithLegacySupport, IOidWithLegacySupport } from "./commonTypes.ts";
import type { TPlatform } from "./loginTypes.ts";

export interface IFriendInfo {
    _id: IOidWithLegacySupport;
    DisplayName?: string;
    PlatformNames?: string[];
    PlatformAccountId?: string;
    Status?: number;
    ActiveAvatarImageType?: string;
    TitleType?: string;
    LastLogin?: IMongoDateWithLegacySupport;
    PlayerLevel?: number;
    Suffix?: number;
    Note?: string;
    Favorite?: boolean;
    NewRequest?: boolean;
    LastPlatform?: TPlatform;
}

export interface IFriendship {
    owner: Types.ObjectId;
    friend: Types.ObjectId;
    Note?: string;
    Favorite?: boolean;
    NewRequest?: true;
}