Skip to content

Commit

Permalink
feat: Parse salvageModifier
Browse files Browse the repository at this point in the history
  • Loading branch information
octfx committed Nov 26, 2023
1 parent 640a601 commit fb6ba4f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Loader/scdb.Xml/Entities/SWeaponStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ public class SWeaponStats
public spreadModifier spreadModifier;

public aimModifier aimModifier;

public salvageModifier salvageModifier;
}
}
16 changes: 16 additions & 0 deletions Loader/scdb.Xml/Entities/salvageModifier.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System.Xml.Serialization;

namespace scdb.Xml.Entities
{
public class salvageModifier
{
[XmlAttribute]
public double salvageSpeedMultiplier;

[XmlAttribute]
public double radiusMultiplier;

[XmlAttribute]
public double extractionEfficiency;
}
}

0 comments on commit fb6ba4f

Please sign in to comment.