Yep, I'll do it soon
Simple example how i imported json schema in my plugin:
[DOUBLEPOST=1487712884][/DOUBLEPOST]Code:private string m_jsonSchema; private WebRequests m_wb = Interface.GetMod().GetLibrary<WebRequests>("WebRequests");void Init() { var url = "http://my_hosting.com/ui.json"; m_wb.EnqueueGet(url, (int status, string response) => { m_jsonSchema = response; }, null, null, 15); }void OnPlayerSleepEnded(BasePlayer player) { CuiHelper.AddUi(player, CuiHelper.FromJson(m_jsonSchema)); }Thx. Soon I will add support for this fonts
RustCUI editor feedback
Discussion in 'Rust Development' started by Andrew Mensky, Feb 10, 2017.
-
-
Wulf Community Admin
-
hey wolf was wondering every oxide update when you download the newest version of oxide always had c sharp stuff in there on this new one i dont see them in there or am i missing something.
-
Wulf Community Admin
-
-
-
I would suggest introducing any kind of Ctrl+Z.
I think this doesn't needs any explanations -
Suggestions
- Outline Component
- Fade In
- Fade Out
-
Suggestions
- grids and cues for easiest placement of item like button/label
- grids and cues for easiest placement of item like button/label
-
give me plz! -
-
Andrew Mensky, thanks for this!
How to import generated code in my plugin? It's C# code or JS? Please, take me C# example!Last edited by a moderator: Apr 2, 2018 -
-