@xmobitea/gn-server
Version:
GearN Server by XmobiTea (Pro)
23 lines (22 loc) • 912 B
TypeScript
import * as mongoDB from "mongodb";
import { GamePlayerBase } from "./GamePlayerBase";
import { OwnerItem } from "./OwnerItem";
import { RemoveStatusItem } from "./RemoveStatusItem";
export declare class CharacterPlayer extends GamePlayerBase {
private static readonly _characterId;
private static readonly _catalogId;
private static readonly _owner;
private static readonly _removeStatus;
private readonly characterId;
private readonly catalogId;
private owner;
private removeStatus;
constructor(result: mongoDB.WithId<mongoDB.Document>, collection: mongoDB.Collection<mongoDB.Document>);
private setDocumentCharacterPlayer;
getCharacterId(): string;
getCatalogId(): string;
getOwner(): OwnerItem;
setOwner(ownerId: string, ownerType: number): void;
getRemoveStatus(): RemoveStatusItem;
setRemoveStatus(tsRemove: number, reason?: string): void;
}