Class WorldRefs
Namespace: OblivionMp.Sdk.Serverside.World
Assembly: OblivionMp.Sdk.Serverside.dll
Finds the entities that stand for game refs and tells where they are.
public sealed class WorldRefs
Inheritance
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
WorldRefs(IEntities)
Finds the entities that stand for game refs and tells where they are.
public WorldRefs(IEntities entities)
Parameters
entities IEntities
Methods
IsCellMaster(FullCellId, PlayerId)
public bool IsCellMaster(FullCellId cellId, PlayerId player)
Parameters
cellId FullCellId
player PlayerId
Returns
IsInArea(EntityHandle, AreaId)
public bool IsInArea(EntityHandle entity, AreaId area)
Parameters
entity EntityHandle
area AreaId
Returns
LeveledListExists(FormId)
public bool LeveledListExists(FormId id)
Parameters
id FormId
Returns
TryFind(uint, out EntityHandle)
public bool TryFind(uint refId, out EntityHandle entity)
Parameters
refId uint
entity EntityHandle
Returns
TryFindActor(PlayerId, uint, out EntityHandle)
public bool TryFindActor(PlayerId player, uint refId, out EntityHandle entity)
Parameters
player PlayerId
refId uint
entity EntityHandle
Returns
TryFindContainer(uint, out Container)
public bool TryFindContainer(uint refId, out Container container)
Parameters
refId uint
container Container
Returns
TryFindFlora(uint, out Flora)
public bool TryFindFlora(uint refId, out Flora flora)
Parameters
refId uint
flora Flora
Returns
TryFindNpc(uint, out Npc)
public bool TryFindNpc(uint refId, out Npc npc)
Parameters
refId uint
npc Npc