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
47 additions
and
1 deletion.
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,25 @@ | ||
using System.Xml.Serialization; | ||
using M2dXmlGenerator; | ||
using DayOfWeek = Maple2.File.Parser.Enum.DayOfWeek; | ||
|
||
namespace Maple2.File.Parser.Xml.Table.Server; | ||
|
||
// ./data/server/table/Server/NA/GameEvent.xml | ||
[XmlRoot("ms2")] | ||
public partial class GameEventRoot { | ||
[M2dFeatureLocale(Selector = "gameEventID")] private IList<GameEvent> _gameEvent; | ||
} | ||
|
||
public partial class GameEvent : IFeatureLocale { | ||
[XmlAttribute] public int gameEventID; | ||
[XmlAttribute] public string eventType = string.Empty; | ||
[XmlAttribute] public string eventStart = string.Empty; | ||
[XmlAttribute] public string eventEnd = string.Empty; | ||
[XmlAttribute] public string partTime = string.Empty; | ||
[M2dArray] public DayOfWeek[] dayOfWeek = Array.Empty<DayOfWeek>(); | ||
[XmlAttribute] public string value1 = string.Empty; | ||
[XmlAttribute] public string value2 = string.Empty; | ||
[XmlAttribute] public string value3 = string.Empty; | ||
[XmlAttribute] public string value4 = string.Empty; | ||
[XmlAttribute] public string reference = 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