Ejemplo n.º 1
0
        public void WriteTableAsDictionaryTest()
        {
            luaWriter.WriteStartAssignment("profile");
            luaWriter.WriteStartTable();

            luaWriter.WriteTableFieldLiteralExpression("Name", "Jessica Marie Alba");
            luaWriter.WriteTableFieldLiteralExpression("Age", 27);
            luaWriter.WriteTableFieldLiteralExpression("Hot", true);

            luaWriter.WriteEndTable();
            luaWriter.WriteEndAssignment();
        }