/// <summary>
        /// 保存到db
        /// </summary>
        public void Save()
        {
            SQLCharHandle.SaveCharacterInfo(m_ss_data);

            m_is_dirty       = false;
            m_last_save_time = Time.timeSinceStartup;
        }
Exemple #2
0
        /// <summary>
        /// 保存到db
        /// </summary>
        public void Save()
        {
            SQLCharHandle.SaveCharacterInfo(m_player_data);

            m_is_dirty       = false;
            m_last_save_time = Time.second_time;
        }
Exemple #3
0
        /// <summary>
        /// 保存到db
        /// </summary>
        public void Save()
        {
            SQLCharHandle.SaveCharacterInfo(m_db_id, m_unit_attr.player_info);

            m_is_dirty       = false;
            m_last_save_time = Time.timeSinceStartup;
        }