PythonDataFile Update
Discussion in 'Rust Development' started by NobodyFTW, Aug 28, 2015.
-
Can you put an example of code of how you are using PythonDataFile?
-
Code:
cfg = data.ReadObject("config/notifier.json") -
This my request is for the fact I cannot seem to figure how I can code in python the new features introduced in Oxide in this update: Oxide for Rust Experimental - 2.0.1297 | Oxide
@Wulf any way you could help? -
Wulf Community Admin
This would be more of @Nogrod's thing. -
The new ReadObject is generic and needs to know which c# type it should load from the file, via python you will only able to use existing types to load since you cannot define new c# types. For python we would need a special implementation to have a useful solution, but so for no ideas about it
