Hey everyone, I can't seem to find the API for Rust. I have found the one for Oxide (http://docs.oxidemod.org/rust/), but not for the game itself.
For instance, if I need to find the X location of a player, in this case player.transform.position.x, I'd like to be able to look it up. Same goes for a list of all players online (BasePlayer.activePlayerList). Can anyone point me to the right webpage?
Thanks, and cheers!
Solved Where is the Rust API located?
Discussion in 'Rust Development' started by ArcaneCraeda, Aug 23, 2015.
-
Wulf Community Admin
Rust doesn't have an API really, that's why Oxide is here. For pretty much all of the Rust functions, you'd need to decompile the Assembly-CSharp.dll from the game using a tool such as JustDecompiler or dotPeek and browse for the functions you'd like.
The Docs we provide are for Oxide, and may or may not contain examples from Rust and other games, but generally are pretty generic. -
Thanks! Since Rust is built on Unity, I suppose I can use the Unity API... oh well.
-
Wulf Community Admin