Skip to main content
Version: 0.2.0

Class SDK

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

Provides access to the OblivionMp SDK services and APIs.

public static class SDK

Inheritance​

object ← SDK

Inherited Members​

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties​

Chat​

API for interacting with the in-game chat.

public static IOblivionChatApi Chat { get; }

Property Value​

IOblivionChatApi

GameMessage​

Provides methods related to in-game info messages.

public static IOblivionGameMessageApi GameMessage { get; }

Property Value​

IOblivionGameMessageApi

Input​

Provides methods related to input, such as registering key binds.

public static IInputApi Input { get; }

Property Value​

IInputApi

Markers​

Creates and manages local markers over player characters.

public static IMarkerApi Markers { get; }

Property Value​

IMarkerApi

Services​

Dependency injection container interface for registering and resolving services.

public static IDependencyContainer Services { get; }

Property Value​

IDependencyContainer

Remarks​

Registrations are additive by default, so several mods can each contribute an implementation of the same service and all of them are returned by ResolveAll%60%601. Pass replace: true to take over a service another mod or the SDK already registered, which drops every existing registration of that service type.

Sync​

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

public static IOblivionSyncApi Sync { get; }

Property Value​

IOblivionSyncApi

  • Properties
    • Chat
    • GameMessage
    • Input
    • Markers
    • Services
    • Sync