DysonSphereMod / QOL

64 stars 34 forks source link

Unable to compile BetterStats #61

Closed zhangxp1998 closed 3 years ago

zhangxp1998 commented 3 years ago

Getting error: "UIProductionStatWindow' does not contain a definition for 'entryPool' and no accessible extension method 'entryPool' accepting a first argument of type 'UIProductionStatWindow' could be found (are you missing a using directive or an assembly reference?)"

Even though I already added Assembly-CSharp, UnityEngine.dll and many other files from game folder.

brokenmass commented 3 years ago

you have to use Assembly-CSharp refstub with all private methods/properties made public. you can find the latest version in the resource channel of dsp modding discord or you can create it yourself using Stubber-Publicizer (download the executable drag and drop assembly-csharp.dll on ConsoleStubber.exe and follow the onscreen instructions