VisEntities hotfixed my plugin ManageMini.
orginal Code:
(BaseNetworkable.serverEntities.Find(getMiniData(player, 5)) as IOEntity) != null)changed Code:
(BaseNetworkable.serverEntities.Find(new NetworkableId(getMiniData(player, 5))) as IOEntity) != null) I finally got a chance to check out this compiling error. However, I cannot find the assembly file that list this necessary change. MS Visual Studio is stating that it needs a reference to Rust.Data since NetworkableId is not resolved.
"Severity Code Description Project File Line Suppression State
Error CS0012 The type 'NetworkableId' is defined in an assembly that is not referenced. You must add a reference to assembly 'Rust.Data, Version=*.*.*.*, Culture=neutral, PublicKeyToken=null'. ManageMini2 E:\Rust UMod Plugins\Editted\ManageMini2\ManageMini2\ManageMini.cs 105 Active"
Now I have all the .dll files that are packaged with Oxide.Rust v2.0.5861 referenced in MS Visual Studio. However, where am I able to find the update API documentation for this change to insure that the hotfix that VisEntities did is the appropriate fix before I make the change to the code on umod? In addition, where can I find the Rust.Data .dll so that I can update my solution reference library in MS Visual Studio?
The error that the server admin sent me was:
Error while compiling: ManageMini.cs(1339,54): error CS1503: Argument #1' cannot convert uint' expression to type `NetworkableId'