C# 클래스 Nexus.Client.MessagerClient

This class enables communication between different instance of the mod manager.
Only one instance of the client can be running per game mode. This class allows one instance of the mod manager to send messages to the running instance to process.
상속: IMessager
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
AddMod ( string p_strFilePath ) : void

Adds the specified mod to the mod manager.

BringToFront ( ) : void

Brings the currently running client to the front.

Dispose ( ) : void

Disposes of the object.

This shuts down any open IPC channels.

GetMessager ( EnvironmentInfo p_eifEnvironmentInfo, IGameModeDescriptor p_gmdGameModeInfo ) : IMessager

Gets an instance of a Messager to use to talk to the running instance of the client.

Post ( ) : void

Used as a simple Power On Self Test method.

This method can be called to ensure a Messager is alive.

비공개 메소드들

메소드 설명
MessagerClient ( IMessager p_msgMessager ) : System

A simple constructor that initializes the object with the given values.

메소드 상세

AddMod() 공개 메소드

Adds the specified mod to the mod manager.
public AddMod ( string p_strFilePath ) : void
p_strFilePath string The path or URL of the mod to add to the mod manager.
리턴 void

BringToFront() 공개 메소드

Brings the currently running client to the front.
public BringToFront ( ) : void
리턴 void

Dispose() 공개 메소드

Disposes of the object.
This shuts down any open IPC channels.
public Dispose ( ) : void
리턴 void

GetMessager() 공개 정적인 메소드

Gets an instance of a Messager to use to talk to the running instance of the client.
public static GetMessager ( EnvironmentInfo p_eifEnvironmentInfo, IGameModeDescriptor p_gmdGameModeInfo ) : IMessager
p_eifEnvironmentInfo EnvironmentInfo The application's envrionment info.
p_gmdGameModeInfo IGameModeDescriptor The descriptor of the game mode for which mods are being managed.
리턴 IMessager

Post() 공개 메소드

Used as a simple Power On Self Test method.
This method can be called to ensure a Messager is alive.
public Post ( ) : void
리턴 void