Example #1
0
    private void SetState(EManager state)
    {
        if (state == _CurrState)
        {
            return;
        }

        HandleStateChange(state);
    }
Example #2
0
 // Token: 0x06000069 RID: 105 RVA: 0x000087A4 File Offset: 0x000069A4
 public override bool OnCalloutAccepted()
 {
     Game.DisplaySubtitle("Go to the ~g~Galileo Observatory~w~.", 5000);
     this.blBlip       = new Blip(this.SpawnPoint);
     this.blBlip.Color = Color.LimeGreen;
     this.blBlip.EnableRoute(Color.LimeGreen);
     EManager.currentCall     = EManager.Calls.GALtoRMS;
     EManager.currentCallType = EManager.CallType.Regular;
     this.distance            = Vector3.Distance(RichardsMajesticStudio.sPos_limo, this.SpawnPoint);
     EManager.departure       = GalileoObservatory.sPos_limo;
     EManager.arrival         = RichardsMajesticStudio.sPos_prota;
     EManager.riskLevel       = "~y~Medium";
     EManager.GenerateVIP();
     EManager.currentDestination = "Richards Majestic Studio";
     EManager.currentCallState   = EManager.CallState.Initiated;
     return(base.OnCalloutAccepted());
 }
 // Token: 0x06000075 RID: 117 RVA: 0x0000AA14 File Offset: 0x00008C14
 public override bool OnCalloutAccepted()
 {
     Game.DisplaySubtitle("Go to the ~g~Kortz Center~w~.", 5000);
     this.blBlip       = new Blip(this.SpawnPoint);
     this.blBlip.Color = Color.LimeGreen;
     this.blBlip.EnableRoute(Color.LimeGreen);
     EManager.currentCall     = EManager.Calls.KORtoMZB;
     EManager.currentCallType = EManager.CallType.Regular;
     this.distance            = Vector3.Distance(MazeBank.sPos_limo, this.SpawnPoint);
     EManager.departure       = KortzCenter.sPos_limo;
     EManager.arrival         = MazeBank.sPos_prota;
     EManager.riskLevel       = "~y~Medium";
     EManager.GenerateVIP();
     EManager.currentDestination = "Maze Bank";
     EManager.currentCallState   = EManager.CallState.Initiated;
     return(base.OnCalloutAccepted());
 }
Example #4
0
        public override void Execute()
        {
            if (Orbwalker.IsAutoAttacking)
            {
                return;
            }

            if (FarmMenu.GetCheckBoxValue(Q, "jungle"))
            {
                Q.SmartCast();
            }

            if (FarmMenu.GetCheckBoxValue(E, "jungle") && !EManager.IsNearWallJump())
            {
                E.SmartCast();
            }
        }
Example #5
0
 // Token: 0x060000B2 RID: 178 RVA: 0x00015970 File Offset: 0x00013B70
 public override bool OnCalloutAccepted()
 {
     Game.DisplaySubtitle("Go to the ~g~Bolingbroke State Penitentiary~w~.", 5000);
     this.blBlip       = new Blip(this.SpawnPoint);
     this.blBlip.Color = Color.LimeGreen;
     this.blBlip.EnableRoute(Color.LimeGreen);
     EManager.currentCall     = EManager.Calls.SCALL_1;
     EManager.currentCallType = EManager.CallType.Ambulance;
     this.distance            = Vector3.Distance(DavisHospital_EMS.sPosAmbulance, this.SpawnPoint);
     EManager.departure       = Bolingbroke_EMS.sPosAmbulance;
     EManager.arrival         = DavisHospital_EMS.sPosProta;
     EManager.riskLevel       = "~y~Medium";
     EManager.GenerateVIP();
     EManager.currentDestination = "Davis Hospital";
     EManager.currentCallState   = EManager.CallState.Initiated;
     return(base.OnCalloutAccepted());
 }
 // Token: 0x06000032 RID: 50 RVA: 0x00005EB4 File Offset: 0x000040B4
 public static void Game_FrameRenderRes_EMS(object sender, GraphicsEventArgs e)
 {
     NativeFunction.CallByName <uint>("DRAW_RECT", new NativeArgument[]
     {
         0f,
         0f,
         0.47f,
         0.21f,
         (int)Color.Black.R,
         (int)Color.Black.G,
         (int)Color.Black.B,
         105
     });
     EManager.Text(" >  ~y~Inmate Card", 0.003f, 0.003f, 0.5f);
     EManager.Text("Name : ~b~Ramzi Howell", 0.033f, 0.003f, 0.5f);
     EManager.Text("~r~Injured during a brawl between inmates", 0.063f, 0.003f, 0.5f);
 }
Example #7
0
    private void HandleStateChange(EManager changedState)
    {
        EManager oldState = _CurrState;
        EManager newState = changedState;

        switch (changedState)
        {
        case EManager.DragonSpawn:
            Debug.Log("Manager state -> DragonSpawn");

            break;

        case EManager.DragonReady:
            Debug.Log("Manager state -> DragonReady");
            break;
        }
    }
 // Token: 0x060000A5 RID: 165 RVA: 0x000137D4 File Offset: 0x000119D4
 public override bool OnCalloutAccepted()
 {
     Game.DisplaySubtitle("Go to the ~g~Union Depository~w~.", 5000);
     this.blBlip       = new Blip(this.SpawnPoint);
     this.blBlip.Color = Color.LimeGreen;
     this.blBlip.EnableRoute(Color.LimeGreen);
     EManager.currentCall     = EManager.Calls.UDPtoGOC;
     EManager.currentCallType = EManager.CallType.Regular;
     this.distance            = Vector3.Distance(GolfClub.sPos_limo, this.SpawnPoint);
     EManager.departure       = UnionDepository.sPos_limo;
     EManager.arrival         = GolfClub.sPos_prota;
     EManager.riskLevel       = "~y~Medium";
     EManager.GenerateVIP();
     EManager.currentDestination = "LS Golf Club";
     EManager.currentCallState   = EManager.CallState.Initiated;
     return(base.OnCalloutAccepted());
 }
 // Token: 0x0600002B RID: 43 RVA: 0x000059D8 File Offset: 0x00003BD8
 public static void Game_FrameRenderRes(object sender, GraphicsEventArgs e)
 {
     NativeFunction.CallByName <uint>("DRAW_RECT", new NativeArgument[]
     {
         0f,
         0f,
         0.47f,
         0.3f,
         (int)Color.Black.R,
         (int)Color.Black.G,
         (int)Color.Black.B,
         105
     });
     EManager.Text(" >  ~y~Inmate Card", 0.003f, 0.003f, 0.5f);
     EManager.Text("Name : ~b~" + PCALL_Manager.currentpName, 0.033f, 0.003f, 0.5f);
     EManager.Text("Sentenced to ~b~" + PCALL_Manager.jNumber.ToString() + " years ~w~in jail", 0.063f, 0.003f, 0.5f);
     EManager.Text("for ~r~" + PCALL_Manager.currentpCrime + ".", 0.093f, 0.003f, 0.5f);
 }
Example #10
0
 // Token: 0x06000093 RID: 147 RVA: 0x000103BC File Offset: 0x0000E5BC
 public override bool OnCalloutAccepted()
 {
     Game.DisplaySubtitle("Go to the ~g~Los Santos Airport~w~.", 5000);
     this.blBlip       = new Blip(this.SpawnPoint);
     this.blBlip.Color = Color.LimeGreen;
     this.blBlip.EnableRoute(Color.LimeGreen);
     EManager.currentCall     = EManager.Calls.LSAtoUD;
     EManager.currentCallType = EManager.CallType.Regular;
     this.distance            = Vector3.Distance(UnionDepository.sPos_limo, this.SpawnPoint);
     EManager.departure       = LSAirport.sPos_limo;
     EManager.arrival         = UnionDepository.sPos_prota;
     EManager.riskLevel       = "~y~Medium";
     EManager.GenerateVIP();
     EManager.currentDestination = "Union Depository";
     EManager.currentCallState   = EManager.CallState.Initiated;
     this.g            = new Vehicle("LUXOR", new Vector3(-978f, -2997.384f, 14.548f), 59.197f);
     this.g.IsEngineOn = true;
     return(base.OnCalloutAccepted());
 }
Example #11
0
 // Token: 0x0600002C RID: 44 RVA: 0x00005B04 File Offset: 0x00003D04
 public static void Game_FrameRender(object sender, GraphicsEventArgs e)
 {
     NativeFunction.CallByName <uint>("DRAW_RECT", new NativeArgument[]
     {
         0f,
         0f,
         0.274f,
         0.2f,
         (int)Color.Black.R,
         (int)Color.Black.G,
         (int)Color.Black.B,
         105
     });
     EManager.Text("Inmate : ~b~" + PCALL_Manager.currentpName, 0.003f, 0.003f, 0.5f);
     if (Main.shRisk)
     {
         EManager.Text("Risk Level : " + EManager.riskLevel, 0.033f, 0.003f, 0.5f);
     }
     EManager.Text("Distance : " + ((int)Vector3.Distance(Game.LocalPlayer.Character.Position, EManager.arrival)).ToString() + " yards", 0.063f, 0.003f, 0.5f);
 }