public Main(IServerNetworkActions _IServerNetworkActions, IServerGUI _IServerGUI) { //Set global instances to instance passed through constructor, this is 100% needed otherwise your plugin will not operate IServerGUI = _IServerGUI; IServerNetworkActions = _IServerNetworkActions; InitializeGUI(); }
public Main(IServerNetworkActions _IServerNetworkActions, IServerGUI _IServerGUI) { //Set global instances to instance passed through constructor, this is 100% needed otherwise your plugin will not operate Variables.iServerGUI = _IServerGUI; Variables.iServerNetworkActions = _IServerNetworkActions; InitializeGUI(); //Calling our GUI method See the Region "GUI" }