神岛 API 文档 - ArenaPro版
    Preparing search index...

    Type Alias GamePlayerEntity

    GamePlayerEntity: GameEntity & { isPlayer: true; player: GamePlayer }

    代表一个玩家实体 继承自游戏实体并添加了玩家信息

    Type declaration

    • ReadonlyisPlayer: true

      用于判断实体是否为玩家的标志

    • player: GamePlayer

      玩家实例