Beispiel #1
0
        // -------------------------------------------------------------------------------
        // Save
        // -------------------------------------------------------------------------------
        public override BaseDataTable Save()
        {
            BaseDataTable data = new BaseDataTable();

            for (int i = 0; i < syncStatus.Count; ++i)
            {
                data.AddString(DatabaseManager.fieldName, parent.name, i);
                data.AddString(DatabaseManager.fieldId, syncStatus[i].name, i);
                data.AddInt(DatabaseManager.fieldLevel, syncStatus[i].nLevel, i);
                data.AddDouble(DatabaseManager.fieldDuration, syncStatus[i].dTimer, i);
            }

            return(data);
        }