Exemple #1
0
        public string WriteLuaString()
        {
            string luaString = string.Empty;

            luaString += LuaWriter.writeDecimalAttribute("previous_dkp", 0);
            luaString += LuaWriter.writeTextAttribute(nameof(Player), Player);
            luaString += LuaWriter.writeTextAttribute(nameof(Class), Class);
            luaString += LuaWriter.writeDecimalAttribute(nameof(Dkp), Dkp);
            luaString += LuaWriter.writeDecimalAttribute(nameof(LifetimeGained), LifetimeGained);
            luaString += LuaWriter.writeDecimalAttribute(nameof(LifetimeSpent), LifetimeSpent);
            return(luaString);
        }