forked from kOchirasu/Maple2.File
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System.Xml.Serialization; | ||
using M2dXmlGenerator; | ||
|
||
namespace Maple2.File.Parser.Xml.Table.Server; | ||
|
||
// ./data/server/table/Server/OxQuiz.xml | ||
[XmlRoot("ms2")] | ||
public class OxQuizRoot { | ||
[XmlElement] public List<OxQuiz> OxQuiz; | ||
} | ||
|
||
public class OxQuiz { | ||
[XmlAttribute] public int quizID; | ||
[XmlAttribute] public int categoryID; | ||
[XmlAttribute] public string categoryStr = string.Empty; | ||
[XmlAttribute] public string quizStr = string.Empty; | ||
[XmlAttribute] public int level; | ||
[XmlAttribute] public bool answer; | ||
[XmlAttribute] public string answerStr = string.Empty; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters