-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
level lighting commands from 1.1.11 pet color commands from 1.1.10 / 1.1.11 fixed itemDump command
- Loading branch information
1 parent
cc9197e
commit e8cc9b9
Showing
10 changed files
with
518 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System.Collections.Generic; | ||
using HarmonyLib; | ||
using UnityEngine; | ||
|
||
namespace SoD_BaseMod.Extensions { | ||
[HarmonyPatch(declaringType: typeof(SanctuaryPet))] | ||
public static class SanctuaryPet_Extensions { | ||
public static Dictionary<string, SkinnedMeshRenderer> GetRendererMap(this SanctuaryPet pet) { | ||
return Traverse | ||
.Create(pet) | ||
.Field("mRendererMap") | ||
.GetValue<Dictionary<string, SkinnedMeshRenderer>>(); | ||
} | ||
} | ||
} |
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
Oops, something went wrong.