跳到主要内容
版本:Next

Interface IPlayers

Namespace: OblivionMp.Sdk
Assembly: OblivionMp.Sdk.dll

The local player, and the other players in their area.

public interface IPlayers

Properties​

AreaPlayers​

Every character in the local player's area, theirs included; empty while they are in none.

ScopedQuery<MainCharacter> AreaPlayers { get; }

Property Value​

ScopedQuery<MainCharacter>

LocalMainCharacter​

This player's character, or null before it exists.

MainCharacter? LocalMainCharacter { get; }

Property Value​

MainCharacter?

LocalPlayer​

This player's Player, or null before they have one.

Player? LocalPlayer { get; }

Property Value​

Player?

  • Properties
    • AreaPlayers
    • LocalMainCharacter
    • LocalPlayer