Mobile Game client data table access guide

Source: Internet
Author: User

Several issues need to be considered when mobile games Access database tables;

1. Unity uses the C # language, and the data table reading interface must also use the C # language;

2. the basic component library provides a table conversion tool from Excel to bin. the TDR component supports converting the metadata format into a C # interface code set that can read data in Bin format, you can sort the data table configuration process to read

(1) The program creates an XML file with the corresponding metadata structure of the Excel table and table;

(2) planning to add, modify, and delete data items in the created Excel table;

(3) configure the convlist. xml file by using the resconv table conversion tool to load the configuration file and convert the selected table to generate the bin data file;

(4) The program uses the TDR tool to convert the metadata XML file to the TDR file, and then converts it into a C # interface code set that can read data in Bin format;

(5) use the C # interface to read the specific data in the bin format data table.

3. considering that some data is generated using the unity editor and cannot be directly filled in an Excel table, you can temporarily save it as an XML file and load the XML file when using the data, if you need to unify the data format of the preceding table, you can convert the XML file into a CAD data structure file of the Excel file (this job requires the program to write C # Processing code ), repeat the Excel table processing process.

 

Mobile Game client data table access guide

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.