/// <summary>
    /// 获取当前武器的运行时武器信息. 可用于计算弹道扩散
    /// </summary>
    /// <returns></returns>
    public BattleWeaponBase GetCurrentBattleWeapon()
    {
        SpacecraftEntity mainPlayer = m_GameplayProxy.GetEntityById <SpacecraftEntity>(m_GameplayProxy.GetMainPlayerUID());
        IWeapon          weapon     = GetCurrentWeapon();

        if (weapon != null && mainPlayer != null)
        {
            if (mainPlayer.HaveBattleWeapon(weapon.GetUID()))
            {
                return(mainPlayer.GetBattleWeapon(weapon.GetUID()));
            }
            else
            {
                return(null);
            }
        }
        else
        {
            return(null);
        }
    }