コード例 #1
0
 // Token: 0x06006B3C RID: 27452 RVA: 0x001E15FC File Offset: 0x001DF7FC
 public static void PlaySound(SoundTableId id)
 {
     if (GameManager.Instance == null || GameManager.Instance.AudioManager == null)
     {
         return;
     }
     GameManager.Instance.AudioManager.PlaySound(AudioUtility.SoundIDToName(id), 1f);
 }
コード例 #2
0
 // Token: 0x06008BFA RID: 35834 RVA: 0x0028E0F8 File Offset: 0x0028C2F8
 private void PlaySound(SoundTableId id)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_PlaySoundSoundTableId_hotfix != null)
     {
         this.m_PlaySoundSoundTableId_hotfix.call(new object[]
         {
             this,
             id
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.m_clientWorld.PlaySound(id);
 }
コード例 #3
0
 // Token: 0x06008C3A RID: 35898 RVA: 0x0028EB10 File Offset: 0x0028CD10
 public void PlaySound(SoundTableId id)
 {
     this.m_owner.PlaySound(id);
 }
コード例 #4
0
        // Token: 0x06006B3B RID: 27451 RVA: 0x001E15D8 File Offset: 0x001DF7D8
        private static string SoundIDToName(SoundTableId id)
        {
            IConfigDataLoader configDataLoader = GameManager.Instance.ConfigDataLoader as IConfigDataLoader;

            return(configDataLoader.UtilityGetSound(id));
        }