跳到主要内容
版本:Next

Interface IItems

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

Drops items into the world from the client.

public interface IItems

Methods​

SpawnDroppedItem(FormId, int, Vector3)​

Spawns a dropped item in the game world at the specified position.

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

Parameters​

item FormId

The item FormId.

stackSize int

The number of items in the stack.

position Vector3

The position in the game world where the item should be spawned.

  • Methods
    • SpawnDroppedItem(FormId, int, Vector3)