1 sharedlibrarycoreinterfaces IPlugin
RaidMax edited this page 2023-05-20 22:09:21 -05:00

IPlugin Public interface

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IPlugin[[IPlugin]]
  class SharedLibraryCore.Interfaces.IPlugin interfaceStyle;
  end

Members

Properties

Public properties

Type Name Methods
string Author get
bool IsParser get
string Name get
float Version get

Methods

Public methods

Returns Name
Task OnEventAsync(GameEvent gameEvent, Server server)
Task OnLoadAsync(IManager manager)
Task OnTickAsync(Server S)
Task OnUnloadAsync()

Details

Methods

OnLoadAsync

Source code

public Task OnLoadAsync(IManager manager)
Arguments
Type Name Description
IManager manager

OnUnloadAsync

Source code

public Task OnUnloadAsync()

OnEventAsync

Source code

public Task OnEventAsync(GameEvent gameEvent, Server server)
Arguments
Type Name Description
GameEvent gameEvent
Server server

OnTickAsync

Source code

public Task OnTickAsync(Server S)
Arguments
Type Name Description
Server S

Properties

Name

public string Name { get; }

Version

public float Version { get; }

Author

public string Author { get; }

IsParser

public bool IsParser { get; }

Generated with ModularDoc