User Tools

Site Tools


guide_firstsrmod

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guide_firstsrmod [2019/07/04 11:50]
umfdev [Method 2 (Harmony Postfix)]
guide_firstsrmod [2019/07/04 12:27]
umfdev
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 ~~Title: My First Slime Rancher Mod (Modding Guide) ~~ ~~Title: My First Slime Rancher Mod (Modding Guide) ~~
-{{tag>​Modding}}+{{tag>​Modding ​Guide dnSpy Harmony UnityScripting}}
 ===== My First Slime Rancher Mod (Modding Guide) ===== ===== My First Slime Rancher Mod (Modding Guide) =====
 <WRAP center round info 100%> <WRAP center round info 100%>
Line 309: Line 309:
     * The Traverse will bypass any private or readonly variable and let you read/write to it.     * The Traverse will bypass any private or readonly variable and let you read/write to it.
     * Traverse does not need to be used inside a Harmony patch, it can be used anywhere anytime in any code, however you have to make sure it doesn'​t try to access code that has not yet been loaded into the game.     * Traverse does not need to be used inside a Harmony patch, it can be used anywhere anytime in any code, however you have to make sure it doesn'​t try to access code that has not yet been loaded into the game.
 +    * This will function exactly like Method 2, and is wholly unnecessary since **maxHealth** is public and not readonly.
   - See [[#​Building]] for the next steps.   - See [[#​Building]] for the next steps.
 \\ \\

This topic does not exist yet

You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by clicking on “Create this page”.

guide_firstsrmod.txt · Last modified: 2019/07/04 12:27 by umfdev