Пример #1
0
 /// <summary>
 /// Clears this SpecialEffect.
 /// </summary>
 internal static void ClearEffect()
 {
     Resent           = null;
     Sefgroup         =
         Altgroup     =
             Solgroup = null;
 }
Пример #2
0
        /// <summary>
        /// Creates a solo SEFGroup for the current resource entry.
        /// </summary>
        internal static void CreateSolgroup()
        {
            Altgroup = null;

            Solgroup = new SEFGroup();

            using (Stream bin = Resent.GetStream(false))
                Solgroup.XmlUnserialize(bin);

            Resent.Release();
        }
Пример #3
0
        /// <summary>
        /// Assigns an IResourceEntry and creates a SEFGroup for it.
        /// </summary>
        /// <param name="resent"></param>
        internal static void CreateSefgroup(IResourceEntry resent)
        {
            Resent = resent;

            Altgroup = null;
            Solgroup = null;

            Sefgroup = new SEFGroup();

            using (Stream bin = Resent.GetStream(false))
                Sefgroup.XmlUnserialize(bin);

            Resent.Release();
        }