跳到主要内容
版本:Next

Class MainCharacterExtensions

Namespace: OblivionMp.Sdk.Archetypes.Extensions
Assembly: OblivionMp.Sdk.dll

Actions on the local player's character, which log a warning and do nothing on anyone else's.

public static class MainCharacterExtensions

Inheritance​

object ← MainCharacterExtensions

Inherited Members​

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

Methods​

OpenBirthSignMenu(MainCharacter)​

Opens the birthsign menu, the same menu as the ShowBirthSignMenu console command. Local player only. Does nothing while the spellmaking skill picker is open.

public static void OpenBirthSignMenu(this MainCharacter main)

Parameters​

main MainCharacter

OpenCharacterCreator(MainCharacter)​

Opens the character creator, the same menu as the ShowRaceMenu console command. Local player only. Skills and level progress are kept. Only racial bonuses change. Active spell and potion effects end.

public static void OpenCharacterCreator(this MainCharacter main)

Parameters​

main MainCharacter

OpenClassMenu(MainCharacter)​

Opens the class menu, the same menu as the ShowClassMenu console command. Local player only. Skills and level progress are kept. Only the major skill bonus moves to the new class.

public static void OpenClassMenu(this MainCharacter main)

Parameters​

main MainCharacter

ResurrectLocalPlayer(MainCharacter)​

Resurrects the local player character.

public static void ResurrectLocalPlayer(this MainCharacter main)

Parameters​

main MainCharacter

  • Methods
    • OpenBirthSignMenu(MainCharacter)
    • OpenCharacterCreator(MainCharacter)
    • OpenClassMenu(MainCharacter)
    • ResurrectLocalPlayer(MainCharacter)