Пример #1
0
        private void SetStatusBackup()
        {
            this.m_StatusBackup = new StatusBackup();

            this.m_StatusBackup.Fame =      this.Fame;
            this.m_StatusBackup.Karma =     this.Karma;
            this.m_StatusBackup.DisplayGuildTitle = this.DisplayGuildTitle;
        }
Пример #2
0
        public void RestoreStatusBackup()
        {
            if (this.m_StatusBackup == null)
                return;

            this.Fame =         this.m_StatusBackup.Fame;
            this.Karma =        this.m_StatusBackup.Karma;
            this.DisplayGuildTitle = this.m_StatusBackup.DisplayGuildTitle;

            this.m_StatusBackup = null;

            this.BodyMod = 0;
            this.HueMod = -1;
            this.NameMod = null;
            this.SetHairMods(-1, -1);

            this.InvalidateProperties();
        }