Loading

Paste #pbi1mdbva

  1. class CompanyValue extends GSController
  2. {
  3.     global_goal = null;
  4.    
  5.     function Start();
  6.     function Save();
  7.     function Load(version, data);
  8. }
  9.  
  10. function CompanyValue::Save()
  11. {
  12.     return {};
  13. }
  14.  
  15. function CompanyValue::Load(version, data)
  16. {
  17. }
  18.  
  19. function CompanyValue::Start()
  20. {  
  21.     this.global_goal = GSGoal.New(GSCompany.COMPANY_INVALID, GSText(GSText.STR_GOAL_CV, GSController.GetSetting("value")), GSGoal.GT_NONE, 0)
  22.  
  23.     while(true) {
  24.         GSGoal.SetText(this.global_goal, GSText(GSText.STR_GOAL_CV, GSController.GetSetting("value")));
  25.         this.Sleep(74)
  26.     }
  27. }

Comments