Conversation
Tabs for left indent, spaces for everything else. Most everything on sp side already does this, and as you can see in your changes, everything had tabs but has been changed to spaces. |
For existing files I'd keep things as-is to keep the commit diff tidy.
In my opinion, it's critical that existing compiled plugins continue to work, whether that means preserving the extension as a shim or keeping the extension as-is and making clientprefs-sp completely separate. |
…ction or not (applied at least once)
Agreed. I apologize this hasn't received any feedback publicly - this is a great addition and very much so welcomed. I believe when I was speaking with someone else about this the best path forward is the shim / migration strategy, where if the extension is requested we request the plugin instead. The very light (not even) debate is we do this in the ext, or core. I know this is marked as a draft, and there's one single item remaining on your checklist. What's the latest on it? is there anything I/we can do to help make this a reality? |
Hey, thanks for replying, I haven't really worked on this for some time now as I've picked up other things. That being said, I hope to pick this up again soon, I'm not sure what you could do to make this a reality unfortunately. |
|
What's blocking this? |
This is a work in progress
Converts the existing Clientprefs extension completely to a SourceMod plugin.
Looking to get feedback on its current state and additionally if you have any ideas on the considerations below.
Considerations
Tabs versus spaces
Unified auth ids
Migration strategy
Implemented APIs
Natives
RegClientCookie(andCookieconstructor)FindClientCookie(andCookie.Find)SetClientCookie(andCookie.Set)GetClientCookie(andCookie.Get)SetAuthIdCookie(andCookie.SetByAuthId)AreClientCookiesCachedGetCookieIteratorReadCookieIteratorGetCookieAccess(andCookie.AccessLevelgetter)GetClientCookieTime(andCookie.GetClientTime)SetCookiePrefabMenu(andCookie.SetPrefabMenu)SetCookieMenuItemShowCookieMenuForwards
OnClientCookiesCachedCommands
sm_cookiessm_settings