Beispiel #1
0
 private static void CopyResultsFromHandle(IntPtr handle, ref pp_calc pp)
 {
     pp.total    = ezpp_pp(handle);
     pp.aim      = ezpp_aim_pp(handle);
     pp.speed    = ezpp_speed_pp(handle);
     pp.acc      = ezpp_acc_pp(handle);
     pp.accuracy = ezpp_accuracy_percent(handle) / 100.0f;
 }
Beispiel #2
0
        public void Clear()
        {
            _pos         = -1;
            _n100        = -1;
            _n50         = -1;
            _nmiss       = -1;
            _max_combo   = -1;
            _rtpp_result = Oppai.pp_calc.Empty;

            _fc_n100   = -1;
            _fc_n50    = -1;
            _fc_result = Oppai.pp_calc.Empty;

            _max_mods   = ModsInfo.Empty;
            _max_result = Oppai.pp_calc.Empty;
        }
Beispiel #3
0
        public void Clear()
        {
            _realTimeData = new pp_params();

            _pos        = -1;
            _n100       = -1;
            _n50        = -1;
            _nmiss      = -1;
            _maxCombo   = -1;
            _rtppResult = pp_calc.Empty;

            _fcN100   = -1;
            _fcN50    = -1;
            _fcResult = pp_calc.Empty;

            _lastMods  = c_unknown_mods;
            _maxResult = pp_calc.Empty;
        }
Beispiel #4
0
        public void Clear()
        {
            _realTimeData = new pp_params();

            _pos        = -1;
            _n100       = -1;
            _n50        = -1;
            _nmiss      = -1;
            _maxCombo   = -1;
            _rtppResult = pp_calc.Empty;

            _fcN100   = -1;
            _fcN50    = -1;
            _fcResult = pp_calc.Empty;

            _maxMods   = ModsInfo.Empty;
            _maxResult = pp_calc.Empty;
        }
Beispiel #5
0
        public void Clear()
        {
            _pos        = -1;
            _n100       = -1;
            _n50        = -1;
            _nmiss      = -1;
            _maxCombo   = -1;
            _rtppResult = pp_calc.Empty;

            _fcN100   = -1;
            _fcN50    = -1;
            _fcResult = pp_calc.Empty;

            _lastMods  = UNKNOWN_MODS;
            _maxResult = pp_calc.Empty;

            ClearOppai(fc_handle);
            ClearOppai(rt_handle);
        }
Beispiel #6
0
 public static extern bool get_ppv2(byte[] data, UInt32 dataSize, ref rtpp_params args, Boolean useCache, pp_params cache, ref pp_calc result);