Ejemplo n.º 1
0
        public virtual void StopSound(FECgWeaponFireMode fireMode, FECgWeaponSound soundType, MonoBehaviour owner, MonoBehaviour parent)
        {
            //FCgSoundElement soundElement    = GetSound(fireMode, soundType);
            //ICgManager_Sound manager_sound  = ICgManager_Sound.Get();

            //manager_sound.Stop(soundElement, owner, parent);
        }
Ejemplo n.º 2
0
        public virtual void PlaySound(FECgWeaponFireMode fireMode, FECgWeaponSound soundType, MonoBehaviour owner, Vector3 location)
        {
            FCgSoundElement soundElement = GetSound(fireMode, soundType);

            if (soundElement.Get() == null)
            {
                FCgDebug.LogWarning("MCsData_ProjectileWeapon.PlaySound: Attempting to Play a NULL Sound.");
                return;
            }

            //ICgManager_Sound manager_sound = ICgManager_Sound.Get();

            /*
             * FCsSoundPayload* Payload = Manager_Sound->AllocatePayload();
             * Payload->Set(SoundElement);
             * Payload->Owner = InOwner;
             *  Payload->Location = Location;
             *
             *  Manager_Sound->Play(Payload);
             */
        }
Ejemplo n.º 3
0
 public virtual Vector3 GetMuzzleLocation(MCgSkeleton skeleton, FECgWeaponFireMode fireMode, int index = 0)
 {
     return(skeleton.GetBoneLocation(GetMuzzleBone(fireMode, index)));
 }
Ejemplo n.º 4
0
 public virtual string GetMuzzleBone(FECgWeaponFireMode fireMode, int index = 0)
 {
     return(ECgCached.Str.NAME_None);
 }
Ejemplo n.º 5
0
 public virtual MCgData_Projectile GetData_Projectile(FECgWeaponFireMode fireMode, bool isCharged = false)
 {
     return(null);
 }
Ejemplo n.º 6
0
 public virtual bool UseFakeProjectile(FECgWeaponFireMode fireMode)
 {
     return(false);
 }
Ejemplo n.º 7
0
 public virtual float GetLocationDamageModifier(FECgWeaponFireMode fireMode, string bone)
 {
     return(0.0f);
 }
Ejemplo n.º 8
0
 public virtual FCgSoundElement GetSound(FECgWeaponFireMode fireMode, FECgWeaponSound soundType)
 {
     return(null);
 }
Ejemplo n.º 9
0
 public virtual FCgFxElement GetMuzzleFX(FECgWeaponFireMode fireMode, int index = 0)
 {
     return(null);
 }
Ejemplo n.º 10
0
 public virtual FCgData_Weapon_FireMode GetFireModeClass(FECgWeaponFireMode fireMode)
 {
     return(null);
 }