Hello, I am starting to develop Oxide Plugins for Rust in C#, and I was wondering what to put under using so when coding I can use Oxide calls?
Solved C#: What to put for using?
Discussion in 'Rust Development' started by Tiberone, Jan 15, 2017.
-
Wulf Community Admin
It depends on what you need to use exactly. I'd recommend starting by getting familiar with what using statements are for if you aren't already familiar with that C# aspect, as well as setting up a project with the proper references to the necessary DLLs you'd be using from the Oxide builds.
-
-
Wulf Community Admin
-
Gyazo - 51d9c4ca39cfe5b462ffaddca3d292fb.png
Gyazo - a365921920098cf3119f8a1bd131f162.png -
Wulf Community Admin
-
-
Wulf Community Admin
-
-
Wulf Community Admin
These are the min you should reference:
- Assembly-CSharp.dll
- Oxide.Core.dll
- Oxide.Core.CSharp.dll
- Oxide.Game.Rust.dll
- UnityEngine.dll
-
Gyazo - beeb86323095f663e839b023a08d6b84.png
Adding Oxide.Core.Csharp and .Game.Rust seemed to fix my problems. Thanks for all your help as I can start learning to code without errors! -
-