1. Where can I find a list of the Objects along with their properties and methods? For example:

    BasePlayer
    HitInfo
    etc?

    I've heard you have to decompile a dll but I'm hoping someone has already done this and documented it.

    I don't have visual studio as I do all my development in Java using IntelliJ
     
  2. Wulf

    Wulf Community Admin

    These are all found under Rust's Assembly-CSharp.dll, which you can find using a .NET decompiler or using IntelliSense or similar functionality. This isn't documented and would likely take ages to actually make proper documentation for it given there are no comments and the game is closed-source.
     
  3. Thanks for the quick reply. I downloaded JustDecompile and was able to decompile and see the objects, properties and methods. You mentioned Intellisense, which I've also commonly referred to as dot notation. Do you know if there is a free IDE that you can use to get Intellisense like features on these objects? That would make development of my plugin a lot easier.
     
  4. Wulf

    Wulf Community Admin

    Visual Studio Community Edition is free, which is what most of us here use. JetBrain's Rider IDE is also decent.
     
  5. VS Code is also nice on Mac if you have the C# plugin from Microsoft.
     
  6. Wulf

    Wulf Community Admin

    Mac also has Visual Studio for Mac, which is basically Xamarin Studio re-branded.
     
  7. Wulf, thanks so much for your help. I downloaded and installed Visual Studio Community Edition. I opened my .cs file and now I'm viewing it like any other IDE. What do I need to do to get the Intellsense working? I assume I need to somehow hook it up to the Assembly-CSharp.dll but I'm brand new to visual studio so I don't know how to do that. Can you please provide some guidance? Also I have these using statements at the top of my .cs file. I just copied them from another plugin.

    using System.Collections;
    using System.Collections.Generic;
    using System.Globalization;
    using System.Linq;
    using Oxide.Game.Rust.Cui;
    using Oxide.Core.Plugins;
    using UnityEngine;
    using Newtonsoft.Json;
     
  8. Wulf

    Wulf Community Admin

    I'd recommend getting familiar with C# a bit in order to understand what using statements are. There are plenty of tutorials around the internet on how to setup IntelliSense as well as how to use Visual Studio.
     
  9. Alright. I was kind of hoping you would just say click here, import the file, then intellisense will work. I assume Using is similar to Import in Java.