[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>File /obj/handlers/corpse_handler.c</h2>
A small handler to keep track of corpses.<p>Written by Pinkfish<p>Started Thu Jun 13 17:22:06 PDT 2002
<h2>Includes</h2>
This class includes the following files /include/player_handler.h<h2>Class Index</h2>
<ul><li><a href="#class_corpse_data">corpse_data</a>
</ul><h2>Method index</h2>
<ul>
<li><a href="#check_corpses">check_corpses</a>()<br/>
This goes through the current list of corpses and tries to find them,
if not it creates them.
<li><a href="#create_corpse">create_corpse</a>(string, int)<br/>
This method creates the specific corpse.
<li><a href="#deregister_corpse">deregister_corpse</a>(object)<br/>
This method deregisters the corpse from us.
<li><a href="#find_player_corpses">find_player_corpses</a>(string)<br/>
Finds all of the corpses for the player.
<li><a href="#query_next_corpse_id">query_next_corpse_id</a>()<br/>
This method returns the next corpse id.
<li><a href="#register_corpse">register_corpse</a>(object)<br/>
This method registers the corpse with us.
<li><a href="#save_corpse">save_corpse</a>(object)<br/>
This method will save the corpse data out to a nice file.
</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="check_corpses">
check_corpses</a><pre class="autodocfuncdef">
void check_corpses()
</pre><dd><br />
This goes through the current list of corpses and tries to find them,
if not it creates them.
<br />

<dt class="autodocfuncname"><a name="create_corpse">
create_corpse</a><pre class="autodocfuncdef">
object create_corpse(string name,
                     int id)
</pre><dd><br />
This method creates the specific corpse.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
name - the player name to create it for<br />
id - the id to create<br />
<br />
<dd><b>Returns:</b>
<br />the new corpse
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="deregister_corpse">
deregister_corpse</a><pre class="autodocfuncdef">
void deregister_corpse(object ob)
</pre><dd><br />
This method deregisters the corpse from us.  We forget about it and
it wombles off into the ether.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
corpse - the corpse to deregister
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="find_player_corpses">
find_player_corpses</a><pre class="autodocfuncdef">
object * find_player_corpses(string player)
</pre><dd><br />
Finds all of the corpses for the player.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
player - the name of the player to find the corpses of<br />
<br />
<dd><b>Returns:</b>
<br />the list of player corpses
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_next_corpse_id">
query_next_corpse_id</a><pre class="autodocfuncdef">
int query_next_corpse_id()
</pre><dd><br />
This method returns the next corpse id.<br />
<br /><dl>
<dd><b>Returns:</b>
<br />the next corpse id
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="register_corpse">
register_corpse</a><pre class="autodocfuncdef">
void register_corpse(object ob)
</pre><dd><br />
This method registers the corpse with us.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
corpse - the corpse to register
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="save_corpse">
save_corpse</a><pre class="autodocfuncdef">
void save_corpse(object ob)
</pre><dd><br />
This method will save the corpse data out to a nice file.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
ob - the object to save
<br />
<br />
<br /></dl>

</dl>
<h2>Classes</h2>
These are nice data types for dealing with...  Data!<p>
<ul>
<li><a name="class_corpse_data">
corpse_data</a><pre>
class corpse_data {
                    int id;
}

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

