XMLIO

作者 Cyron43·版本 v1.0·更新於 2020-07-07

截圖 共 1 張

模組介紹 作者原文

V1.0.1

抱歉,Load方法中存在一個令人討厭的錯誤。

注意:僅適用於開發人員!

純玩家請繼續前進。這裏沒什麼可看的。

XMLIO是一個用C#編寫的.net庫,用於將數據容器(甚至帶有嵌套容器)保存到XML文件和從XML文件加載數據容器。它使您在項目中處理XML數據變得輕而易舉(看圖片),因爲您無需關心XML結構。

從開始爲GTA IV開發mod以來,我就使用XMLIO多年了。

重要

XMLIO在後臺利用WCF數據協定,因此創建並期望使用w3.org標準化的XML佈局(請查看圖片中的XML標頭行)。這意味着您不能讀取任何類型的XML文件,只能讀取XMLIO創建的文件或符合上述標準的XML文件。

XMLIO有兩種類型,適用於任何CPU或顯式用於x64(將後者用於GTA V mod)。所有公共成員均已全面記錄Intellisense。

包括.chm格式的幫助以及MSHelp 2.0的幫助。

該下載內容包括一份詳細的PDF指南,其中包含您需要的所有信息,包括幾個示例。

您需要.net Framework 4.5.2。

哦,我差點忘了:您需要將Cyron43引用爲名稱空間(使用Cyron43;)

Cyron43(又名Osmone Everony)版權所有。您可能不會將此庫作爲自己的工作上載,但是您可以自由地將其集成到您的項目中。

V1.0.1

Sorry there was a nasty bug in the Load method.

NOTE: For developers only!

Pure gamers please move on. There's nothing to see here for you.

XMLIO is a.net library, written in C#, for saving and loading data containers (even with nested containers) to/from XML files. It makes handling XML data in your project a piece of cake (look at the picture) as you don't need to care for the XML structure.

I use XMLIO for many years even since before I started developing mods for GTA IV.

Important

XMLIO utilizes the WCF Data Contract under the hood and therefore creates and expects a w3.org standardized XML layout (look at the XML header line in the picture). That means you can NOT read any kind of XML files, just the ones created by XMLIO or XML files which comply to the aforementioned standard.

XMLIO comes in two flavors, for any CPU or explicitly for x64 (use the latter for GTA V mods). All public members are fully documented for Intellisense.

Includes help in.chm format and also for MSHelp 2.0.

This download includes a detailed PDF guide with all information you need, including several samples.

You need.net Framework 4.5.2.

Oh I almost forgot: you need to reference Cyron43 as namespace (using Cyron43;)

Copyright by Cyron43 aka Osmone Everony. You may NOT upload this library as your own work but of course you are free to integrate it in your project.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
  3. 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
  4. 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。

不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
XMLIO公司
檔案大小
1.1 MiB