跳到主要内容
版本:0.2.0

Interface IOblivionSyncApi

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

Networked entity synchronization API. Provides access to the synchronized state of the game world.

public interface IOblivionSyncApi : ISynchronizationApi<ReadyMainCharacter>, ISynchronizationApi

Implements​

ISynchronizationApi<ReadyMainCharacter>, ISynchronizationApi

Properties​

AllDroppedItems​

Gets all dropped items in the game world.

IEnumerable<ReadyDroppedItem> AllDroppedItems { get; }

Property Value​

IEnumerable<ReadyDroppedItem>

AreaPlayers​

Players in the local player's current area including the local player.

IEnumerable<ReadyMainCharacter> AreaPlayers { get; }

Property Value​

IEnumerable<ReadyMainCharacter>

Methods​

SpawnDroppedItem(FormId, int, Vector3)​

void SpawnDroppedItem(FormId item, int stackSize, Vector3 position)

Parameters​

item FormId

stackSize int

position Vector3