-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clientprefs plugin #1828
base: master
Are you sure you want to change the base?
Clientprefs plugin #1828
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
(andCookie
constructor)FindClientCookie
(andCookie.Find
)SetClientCookie
(andCookie.Set
)GetClientCookie
(andCookie.Get
)SetAuthIdCookie
(andCookie.SetByAuthId
)AreClientCookiesCached
GetCookieIterator
ReadCookieIterator
GetCookieAccess
(andCookie.AccessLevel
getter)GetClientCookieTime
(andCookie.GetClientTime
)SetCookiePrefabMenu
(andCookie.SetPrefabMenu
)SetCookieMenuItem
ShowCookieMenu
Forwards
OnClientCookiesCached
Commands
sm_cookies
sm_settings