siscodeorg / sisbase

An easy to use discord bot base for D#+. Discord Link :
https://discord.gg/ycvm6xJ
MIT License
1 stars 0 forks source link

SystemManager (SMC 3.0) API specification #47

Open alikindsys opened 3 years ago

alikindsys commented 3 years ago

Here is the currently proposed SystemManager API specification

Getting a system in a command

class command : SisbaseCommandModule {
  public SystemType System = SisbaseInstance.Systems.Get<>();
}
alikindsys commented 3 years ago

DependsAttribute - #47/1


Adds a DependsAttribute to the spec of #47.

Reason

Add a way for making systems interdependent - #9

Modifications Required

alikindsys commented 3 years ago

The 3.0 Spec is currently implemented. 47/1 - DependsAttribute extension will be postponed to a minor version after 2.0 release.