/// <summary> /// Clears this SpecialEffect. /// </summary> internal static void ClearEffect() { Resent = null; Sefgroup = Altgroup = Solgroup = null; }
/// <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(); }
/// <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(); }