[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>Includes</h2>
This class includes the following files /include/player_handler.h and /include/login_handler.h<h2>Method index</h2>
<ul>
<li><a href="#add_buggy_start">add_buggy_start</a>(string)<br/>
Add a filename to the array of buggy start positions to be removed.
<li><a href="#delete_buggy_start">delete_buggy_start</a>(string)<br/>
Remove a filename from the array of buggy start positions.
<li><a href="#list_buggy_starts">list_buggy_starts</a>()<br/>
Get a list of all the currently registered buggy start positions.
<li><a href="#load_file">load_file</a>()<li><a href="#login_callback">login_callback</a>(string, string)<br/>
This is the callback function registered with the login handler.
<li><a href="#remove_buggy_starts">remove_buggy_starts</a>(object)<br/>
Process a player and remove start positions as required.
</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="add_buggy_start">
add_buggy_start</a><pre class="autodocfuncdef">
int add_buggy_start(string fname)
</pre><dd><br />
Add a filename to the array of buggy start positions to be removed.
Returns 1 if successful, -1 if the start position was already in the
list, or 0 for an error.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
fname - The filename of the room.  '.c' will be stripped.<br />
<br />
<dd><b>Returns:</b>
<br />The integer success code.
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="delete_buggy_start">
delete_buggy_start</a><pre class="autodocfuncdef">
int delete_buggy_start(string fname)
</pre><dd><br />
Remove a filename from the array of buggy start positions.
Returns 1 if successful, -1 if the start position was not in the list,
or 0 for an error.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
fname - The filename of the room.  '.c' will be stripped.<br />
<br />
<dd><b>Returns:</b>
<br />The integer success code.
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="list_buggy_starts">
list_buggy_starts</a><pre class="autodocfuncdef">
string * list_buggy_starts()
</pre><dd><br />
Get a list of all the currently registered buggy start positions.<br />
<br /><dl>
<dd><b>Returns:</b>
<br />The list of filenames.
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="load_file">
load_file</a><pre class="autodocfuncdef">
void load_file()
</pre>
<dt class="autodocfuncname"><a name="login_callback">
login_callback</a><pre class="autodocfuncdef">
void login_callback(string player,
                    string type)
</pre><dd><br />
This is the callback function registered with the login handler.  It
takes two arguments: the player and the type of login event.  It checks
a property on the player so that it doesn't process the list of buggy
starts once for each player every single time they log in.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
player - the player's name to check.<br />
type - the type of login event, as defined in <login_handler.h>.
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="remove_buggy_starts">
remove_buggy_starts</a><pre class="autodocfuncdef">
void remove_buggy_starts(object player)
</pre><dd><br />
Process a player and remove start positions as required.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
player - The player object to check.
<br />
<br />
<br /></dl>

</dl>
[an error occurred while processing this directive]

