public object?GetNthMask(int index)
            {
                MagicEffectSound_FieldIndex enu = (MagicEffectSound_FieldIndex)index;

                switch (enu)
                {
                case MagicEffectSound_FieldIndex.Type:
                    return(Type);

                case MagicEffectSound_FieldIndex.Sound:
                    return(Sound);

                default:
                    throw new ArgumentException($"Index is out of range: {index}");
                }
            }
            public void SetNthMask(int index, object obj)
            {
                MagicEffectSound_FieldIndex enu = (MagicEffectSound_FieldIndex)index;

                switch (enu)
                {
                case MagicEffectSound_FieldIndex.Type:
                    this.Type = (Exception?)obj;
                    break;

                case MagicEffectSound_FieldIndex.Sound:
                    this.Sound = (Exception?)obj;
                    break;

                default:
                    throw new ArgumentException($"Index is out of range: {index}");
                }
            }