Upload from upload_mods.ps1
This commit is contained in:
19
Harmony/_Debug/Harmony_ItemClassesFromXml.cs
Normal file
19
Harmony/_Debug/Harmony_ItemClassesFromXml.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Audio;
|
||||
using Platform;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace Harmony.ItemClassesFromXmlPatches
|
||||
{
|
||||
[HarmonyPatch(typeof(ItemClassesFromXml))]
|
||||
[HarmonyPatch("parseItem")]
|
||||
public class parseItemPatch
|
||||
{
|
||||
public static bool Prefix(Block __instance, XElement _node)
|
||||
{
|
||||
XElement _element = _node;
|
||||
Log.Out("ItemClassesFromXmlPatches-parseItem Name: " + _element.GetAttribute((XName)"name"));
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user