SoundEffectName.cs 459 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. namespace FF8
  4. {
  5. public static class SoundEffectName
  6. {
  7. public static String Get(SoundEffectId id)
  8. {
  9. if (_dic.TryGetValue(id, out var name))
  10. return name;
  11. return $"Unknown sound effect: {id}";
  12. }
  13. private static readonly Dictionary<SoundEffectId, String> _dic = new Dictionary<SoundEffectId, String>()
  14. {
  15. };
  16. }
  17. }