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); }
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); */ }
public virtual Vector3 GetMuzzleLocation(MCgSkeleton skeleton, FECgWeaponFireMode fireMode, int index = 0) { return(skeleton.GetBoneLocation(GetMuzzleBone(fireMode, index))); }
public virtual string GetMuzzleBone(FECgWeaponFireMode fireMode, int index = 0) { return(ECgCached.Str.NAME_None); }
public virtual MCgData_Projectile GetData_Projectile(FECgWeaponFireMode fireMode, bool isCharged = false) { return(null); }
public virtual bool UseFakeProjectile(FECgWeaponFireMode fireMode) { return(false); }
public virtual float GetLocationDamageModifier(FECgWeaponFireMode fireMode, string bone) { return(0.0f); }
public virtual FCgSoundElement GetSound(FECgWeaponFireMode fireMode, FECgWeaponSound soundType) { return(null); }
public virtual FCgFxElement GetMuzzleFX(FECgWeaponFireMode fireMode, int index = 0) { return(null); }
public virtual FCgData_Weapon_FireMode GetFireModeClass(FECgWeaponFireMode fireMode) { return(null); }