API_DOCS: BZDB variable resets

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

API_DOCS: BZDB variable resets

Post by JeffM »

I have added 2 commands to let plug-ins reset bzdb variables

Code: Select all

BZF_API void bz_resetBZDBVar( const char* variable );
Resets a single bzdb variable;

Code: Select all

BZF_API void bz_resetALLBZDBVars( void );
Resets all bzdb variables.
ImageJeffM
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

Ooh, didn't notice this for a few days... Happy birthday to me, Happy Birthday to me...
Now every single thing we use cron for is a plugin API, we can abandon cron.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Post Reply