Skip to content
This repository was archived by the owner on Dec 18, 2020. It is now read-only.
This repository was archived by the owner on Dec 18, 2020. It is now read-only.

SystemManager (SMC 3.0) API specification #47

@alikindsys

Description

@alikindsys

Here is the currently proposed SystemManager API specification

  • Modify the current SMC structure to :
-- interface IStaticSystem
-- interface IClientSystem
++ abstract class BaseSystem 
++ abstract class ClientSystem : BaseSystem
  • BaseSystem will expose SisbaseBot SisbaseInstance
  • ClientSystem will expose DiscordClient Client

Getting a system in a command

class command : SisbaseCommandModule {
  public SystemType System = SisbaseInstance.Systems.Get<>();
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions