Skip to content

Instantly share code, notes, and snippets.

@TinkerWorX
Created December 22, 2013 20:35
Show Gist options
  • Save TinkerWorX/8088092 to your computer and use it in GitHub Desktop.
Save TinkerWorX/8088092 to your computer and use it in GitHub Desktop.
public abstract class GamePluginBase : MarshalByRefObject
{
protected IGameAPI Game { get; private set; }
protected INatives Natives { get; private set; }
public abstract String Name { get; }
public abstract Version Version { get; }
public abstract void Initialize();
internal void SetGameAPI(IGameAPI api)
{
this.Game = api;
}
internal void SetNativeAPI(INatives api)
{
this.Natives = api;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment