Page 1 of 1

Overriding Spring widget API

Posted: 30 Nov 2020, 07:19
by MasterBel
Hey so BA have started removing things from the default included widgets (advanced player list no longer shows anyone's faction, for example) to the point of including an "anonymous" game mode, which in theory prevents anyone from knowing who anyone else is (intended for FFA). And this got me wondering.

I'm kind of new to widget development, but would you for example be able to steal away Spring's Read APIs, and substitute your own, to override/hide access to certain information from even User widgets that might try to get around these changes?

It'd work something like this, right?

Code: Select all

local Spring_Hidden = Spring
Spring = nil

-- Provide new API here
~MasterBel2