forked from kOchirasu/Maple2.File
-
Notifications
You must be signed in to change notification settings - Fork 9
Maid Tables #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Maid Tables #73
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,14 @@ | ||
| using System.Xml.Serialization; | ||
|
|
||
| namespace Maple2.File.Parser.Xml.Table; | ||
|
|
||
| // ./data/xml/table/maidexp.xml | ||
| [XmlRoot("ms2")] | ||
| public class MaidExpRoot { | ||
| [XmlElement] public List<MaidExp> Exp; | ||
| } | ||
|
|
||
| public class MaidExp { | ||
| [XmlAttribute] public int Level; | ||
| [XmlAttribute] public int Exp; | ||
| } |
This file contains hidden or 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,15 @@ | ||
| using System.Xml.Serialization; | ||
|
|
||
| namespace Maple2.File.Parser.Xml.Table; | ||
|
|
||
| // ./data/xml/table/maidproperty.xml | ||
| [XmlRoot("ms2")] | ||
| public class MaidPropertyRoot { | ||
| [XmlElement] public List<MaidProperty> Property; | ||
| } | ||
|
|
||
| public class MaidProperty { | ||
| [XmlAttribute] public int MaidID; | ||
| [XmlAttribute] public int RecipeGroupID; | ||
| [XmlAttribute] public int NPCID; | ||
| } |
This file contains hidden or 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,30 @@ | ||
| using System.Xml.Serialization; | ||
| using M2dXmlGenerator; | ||
|
|
||
| namespace Maple2.File.Parser.Xml.Table; | ||
|
|
||
| // ./data/xml/table/maidrecipe.xml | ||
| [XmlRoot("ms2")] | ||
| public partial class MaidRecipeRoot { | ||
| [M2dFeatureLocale(Selector = "Id")] private IList<MaidRecipe> _recipe; | ||
| } | ||
|
|
||
| public partial class MaidRecipe : IFeatureLocale { | ||
| [XmlAttribute] public int Id; | ||
| [XmlAttribute] public string FirstIngredientItemID = string.Empty; | ||
| [XmlAttribute] public int FirstIngredientCount; | ||
| [XmlAttribute] public string SecondIngredientItemID = string.Empty; | ||
| [XmlAttribute] public int SecondIngredientCount; | ||
| [XmlAttribute] public string ThirdIngredientItemID = string.Empty; | ||
| [XmlAttribute] public int ThirdIngredientCount; | ||
| [XmlAttribute] public int WorkbenchType; | ||
| [XmlAttribute] public int LeadTimeNormal; | ||
| [XmlAttribute] public int LeadTimeGood; | ||
| [XmlAttribute] public int LeadTimeVeryGood; | ||
| [XmlAttribute] public int MaidExp; | ||
| [XmlAttribute] public int MaidMood; | ||
| [XmlAttribute] public int ProductItemID; | ||
| [XmlAttribute] public int ProductsocketDataID; | ||
| [XmlAttribute] public int ProductCount; | ||
| [XmlAttribute] public int ProductRank; | ||
| } |
This file contains hidden or 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,16 @@ | ||
| using System.Xml.Serialization; | ||
| using M2dXmlGenerator; | ||
|
|
||
| namespace Maple2.File.Parser.Xml.Table; | ||
|
|
||
| // ./data/xml/table/maidrecipegroup.xml | ||
| [XmlRoot("ms2")] | ||
| public class MaidRecipeGroupRoot { | ||
| [XmlElement] public List<MaidRecipeGroup> group; | ||
| } | ||
|
|
||
| public partial class MaidRecipeGroup { | ||
| [XmlAttribute] public int GroupID; | ||
| [M2dArray] public int[] RecipeIDs; | ||
| [M2dArray] public int[] RequireLevels; | ||
| } | ||
This file contains hidden or 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,15 @@ | ||
| using System.Xml.Serialization; | ||
|
|
||
| namespace Maple2.File.Parser.Xml.Table; | ||
|
|
||
| // ./data/xml/table/na/maidsalary.xml | ||
| [XmlRoot("ms2")] | ||
| public class MaidSalaryRoot { | ||
| [XmlElement] public List<MaidSalary> key; | ||
|
Zintixx marked this conversation as resolved.
|
||
| } | ||
|
|
||
| public partial class MaidSalary { | ||
| [XmlAttribute] public int id; | ||
|
Zintixx marked this conversation as resolved.
|
||
| [XmlAttribute] public int SalaryType; | ||
| [XmlAttribute] public int SalaryAmount; | ||
| } | ||
This file contains hidden or 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,17 @@ | ||
| using System.Xml.Serialization; | ||
|
|
||
| namespace Maple2.File.Parser.Xml.Table.Server; | ||
|
|
||
| // ./data/server/table/Server/MaidGradeInfo.xml | ||
| [XmlRoot("ms2")] | ||
| public class MaidGradeInfoRoot { | ||
| [XmlElement] public List<MaidGradeInfo> Grade; | ||
| } | ||
|
|
||
| public class MaidGradeInfo { | ||
| [XmlAttribute] public int Grade; | ||
| [XmlAttribute] public float JackpotRate; | ||
| [XmlAttribute] public float FeelNormalRate; | ||
| [XmlAttribute] public float FeelGoodRate; | ||
| [XmlAttribute] public float FeelVeryGoodRate; | ||
| } |
This file contains hidden or 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,36 @@ | ||
| using System.Xml.Serialization; | ||
| using M2dXmlGenerator; | ||
|
|
||
| namespace Maple2.File.Parser.Xml.Table.Server; | ||
|
|
||
| // ./data/server/table/Server/MaidRecipeSvr.xml | ||
| [XmlRoot("ms2")] | ||
| public partial class MaidRecipeRoot { | ||
| [M2dFeatureLocale(Selector = "Id")] private IList<MaidRecipe> _recipe; | ||
| } | ||
|
|
||
| public partial class MaidRecipe : IFeatureLocale { | ||
| [XmlAttribute] public int Id; | ||
| [XmlAttribute] public string FirstIngredientItemID = string.Empty; | ||
| [XmlAttribute] public int FirstIngredientCount; | ||
| [XmlAttribute] public string SecondIngredientItemID = string.Empty; | ||
| [XmlAttribute] public int SecondIngredientCount; | ||
| [XmlAttribute] public string ThirdIngredientItemID = string.Empty; | ||
| [XmlAttribute] public int ThirdIngredientCount; | ||
| [XmlAttribute] public int WorkbenchType; | ||
| [XmlAttribute] public int LeadTimeNormal; | ||
| [XmlAttribute] public int LeadTimeGood; | ||
| [XmlAttribute] public int LeadTimeVeryGood; | ||
| [XmlAttribute] public int MaidExp; | ||
| [XmlAttribute] public int ProductItemID; | ||
| [XmlAttribute] public int ProductsocketDataID; | ||
| [XmlAttribute] public int ProductCount; | ||
| [XmlAttribute] public int ProductRank; | ||
| [XmlAttribute] public int JackpotItemID; | ||
| [XmlAttribute] public int JackpotsocketDataID; | ||
| [XmlAttribute] public int JackpotCount; | ||
| [XmlAttribute] public int JackpotRank; | ||
| [XmlAttribute] public float JackpotRate; | ||
| [XmlAttribute] public int JackpotMood; | ||
| [XmlAttribute] public int ImmediatelyCompleteFee; | ||
| } |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.