Advertisement
Guest User

Hardware Example API

a guest
Aug 11th, 2014
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Mod Class
  2.  
  3. Mod.getCurrentId();
  4. Mod.getIdWithString(string mod);
  5. Mod.forceId(int id);
  6.  
  7. // Game Class
  8.  
  9. Game.showTextPopup(string caption, string text); // Simple text popup
  10. Game.showTextPopup(string caption, string text, bool yesAndNo); // OVERLOAD: If yesAndNo is true, the returns a boolean according to user input
  11. Game.addRightMenu(string text, string function);
  12. Game.Pause();
  13. Game.Resume();
  14. Game.Money(string action, int value); // Action examples: Add, remove, set
  15. Game.Fans(string action, int value); // Action examples: Add, remove, set
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement