Esempio n. 1
0
        private void SetData2XmlStorage(int value)
        {
            XmlStorage.SetInt("integer", value);
            XmlStorage.SetFloat("float", 1.111f);
            XmlStorage.Set("TestClass", this.test);

            XmlStorage.SetInt("del_tes1", 2);
            XmlStorage.SetString("del_tes1", "del_tes1");
            XmlStorage.DeleteKey("del_tes1");

            XmlStorage.SetInt("del_tes2", 5);
            XmlStorage.SetString("del_tes2", "del_tes2");
            XmlStorage.DeleteKey("del_tes2", typeof(int));

            var address = "*****@*****.**";

            XmlStorage.SetString("address", address);

            XmlStorage.Set("vec2", this.vec2);
            XmlStorage.Set("vec3", this.vec3);
            XmlStorage.Set("qua", this.qua);
        }