Exemplo n.º 1
0
 /// <summary> Construct a new allomancy handler </summary>
 /// <param name="capi"> The client api </summary>
 /// <param name="system"> The system api </summary>
 public ClientAllomancyHandler(ICoreClientAPI capi, MistModSystem system)
 {
     Capi    = capi;
     System  = system;
     Current = this;
 }
Exemplo n.º 2
0
 /// <summary> Start point for the client api. </summary>
 public override void StartClientSide(ICoreClientAPI api)
 {
     // Create and initialize the client handler.
     ClientHandler = new ClientAllomancyHandler(api, this);
     ClientHandler.Initialize();
 }
Exemplo n.º 3
0
 /// <summary> Create an instance of the dialog. </summary>
 /// <param name="capi"> A reference to the client api.static </param>
 public GuiDialogMetalSelector(ICoreClientAPI capi, ClientAllomancyHandler chandler) : base(capi)
 {
     Chandler = chandler;
     SetupDialog();
 }