This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Classes/Objects in SourcePawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
headline
SourceMod Moderator
Join Date: Mar 2015
Old 07-01-2018 , 18:58   Re: (fake) Classes/Objects in SourcePawn
Reply With Quote #1

Quote:
Originally Posted by nosoop View Post
StringMaps are great for temporary mappings that should last as long as the plugin, but the serialization is very much DIY.
If serialization is necessary then switching to a KeyValues-based methodmap is okay, but I'd rather write a conversion method from a StringMap to KeyValues and eat that performance cost then, when serialization is used, rather than on every call into the KeyValues structure.

Either way works, but that's my two cents
headline is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode