public static AreaKey SetSID(this AreaKey self, string value)
        {
            patch_AreaKey p = self.ToPatch();

            p.SID = value;
            return(p.ToOrig());
        }
Esempio n. 2
0
        /// <summary>
        /// Set the SID (string ID) of the area.
        /// </summary>
        public static AreaKey SetSID(this AreaKey self, string value)
        {
            patch_AreaKey p = (patch_AreaKey)(object)self;

            p.SID = value;
            return((AreaKey)(object)p);
        }
 unsafe static AreaKey ToOrig(this patch_AreaKey self)
 => *((AreaKey *)&self);