lithin9 / Unturned-Custom-Plugin

Other
0 stars 0 forks source link

Implement reading of classes from .json file #26

Closed jcvl92 closed 9 years ago

jcvl92 commented 9 years ago

Also write the .json file contents.

jcvl92 commented 9 years ago

See line 49 of DingusGamingStore.cs to get started. Structure is Stores{Store1{Item1{name, itemID, cost}, Item2...}, Store2,...}.

jcvl92 commented 9 years ago

This needs to happen for Currency.balances as well. But Currency.balances needs to also be written to a file. I moved the location of both of these requirements to DingusGaming.cs:DGPlugin.Load() and DGPlugin.Unload().

jcvl92 commented 9 years ago

Absorbed by #40.