跳到主要内容
版本:Next

OblivionMp.Sdk.Serverside

Namespaces​

OblivionMp.Sdk.Serverside.Ai

OblivionMp.Sdk.Serverside.Archetypes

OblivionMp.Sdk.Serverside.Items

OblivionMp.Sdk.Serverside.Spawners

OblivionMp.Sdk.Serverside.World

Classes​

ServerRefIds

Hands out ref ids for entities the server creates (dropped items, spawned npcs). The next one is kept on the World (ServerRefIdMark), which is saved in Global, so cells that are not loaded keep their ids.

SessionClock

The session's game time, read from an area's clock.

SessionDifficulty

The difficulty every client in the session runs at. Leaving a tier Unset keeps clients on the game's own default tier (Adept).

SessionRespawn

When the server refills a cell with the items, plants, container loot and spawns it was seeded with. A cell refills once IntervalGameHours of game time have passed since it was last filled.

SessionScaling

The level every client in the session resolves leveled lists at (creature spawns, container loot). The level blends between the lowest and the highest player level in the session: 0 follows the lowest, 1 the highest, 0.5 sits halfway. Until one of the setters is called each client keeps its own level.

Structs​

Audience