Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Free: IDManager

Author
Message
Epipfany Game Studios
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location:
Posted: 6th Mar 2008 00:13
Here is a class I wrote to help myself keep track of my ObjectID's and keep a pool of them avalible for dynamicaly created this also allows for the reuse of id's very helpfull in multiplayer situations where the server is most difinatly going to need to reuse id's. The use is simple and can help break up id's by using multiple. it iven provides feedback if you have overused your pool of id's. you simply set a min and max on init and it does the rest you request a new id. when done with it release it back to the pool.





Thanks,
Terry

Login to post a reply

Server time is: 2024-11-20 03:40:00
Your offset time is: 2024-11-20 03:40:00