Beispiel #1
0
        //-------------------------------------------------------------------------
        void _s2allcTurretRate(List <string> vec_param)
        {
            if (!mScene.isInit())
            {
                return;
            }

            int  index           = 0;
            uint et_player_rpcid = uint.Parse(vec_param[++index]);
            int  turret_rate     = int.Parse(vec_param[++index]);

            CRenderTurret turret = mScene.getTurret(et_player_rpcid);

            if (turret != null)
            {
                turret.s2allcTurretRate(turret_rate);
            }
        }