[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 /global/finger.c</h2>
This file contains all of the information related to a player,
their password, real name, birthday, location etc.<p>Written by Pinkfish
<h2>Includes</h2>
This class includes the following files <a href="include.clothing.h.shtml">/include/clothing.h</a>, <a href="include.playtesters.h.shtml">/include/playtesters.h</a>, <a href="include.mail.h.shtml">/include/mail.h</a> and <a href="include.player.h.shtml">/include/player.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#finger_commands">finger_commands</a>()<br/>
The commands related to the fingering of a player.
<li><a href="#finger_set">finger_set</a>()<br/>
This method returns whether the player has set their finger info.
<li><a href="#query_birthday">query_birthday</a>()<br/>
This method returns the players birthday.
<li><a href="#query_desc">query_desc</a>()<br/>
This method returns the current description of the player.
<li><a href="#query_email">query_email</a>()<br/>
This method returns the current email address of the player.
<li><a href="#query_homepage">query_homepage</a>()<br/>
This method queries the current homepage for the player.
<li><a href="#query_is_birthday_today">query_is_birthday_today</a>()<br/>
This method checks to see if it is currently the players birthday.
<li><a href="#query_main_zone_desc">query_main_zone_desc</a>(object *)<br/>
This method returns the main zone description to use in the
long of the player.
<li><a href="#query_race_desc">query_race_desc</a>()<br/>
This method returns the current racial description of the player.
<li><a href="#query_real_name">query_real_name</a>()<br/>
This will return the real name of the player.
<li><a href="#query_rhosts">query_rhosts</a>()<br/>
Find out which IP addresses this user wants to be able to login from.
<li><a href="#query_where">query_where</a>()<br/>
This methoid returns the location of the player.
<li><a href="#query_zone_desc">query_zone_desc</a>(string)<br/>
This method returns the zone description for the specified zone.
<li><a href="#query_zone_desc_names">query_zone_desc_names</a>()<br/>
This method returns all the zones there are currently descriptions for.
<li><a href="#set_birthday">set_birthday</a>(string)<br/>
This method sets the players current birthday.
<li><a href="#set_desc">set_desc</a>(string)<br/>
This method sets the description of the player.
<li><a href="#set_email">set_email</a>(string)<br/>
This method sets the current email address of the player.
<li><a href="#set_homepage">set_homepage</a>(string)<br/>
This method sets the players homepage.
<li><a href="#set_password">set_password</a>(string)<br/>
This method changes the password of the player.
<li><a href="#set_race_desc">set_race_desc</a>(string)<br/>
This method sets the race description of the player.
<li><a href="#set_real_name">set_real_name</a>(string)<br/>
This will set the real name of the player.
<li><a href="#set_rhosts">set_rhosts</a>(string *)<li><a href="#set_where">set_where</a>(string)<br/>
This method sets the currnet location of the player.
<li><a href="#set_zone_desc">set_zone_desc</a>(string, string)<br/>
This method sets the description for the specific area of the body.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="finger_commands">
finger_commands</a><pre>
void finger_commands()
</pre></br>
The commands related to the fingering of a player.
Just the change password command at the moment.


<ul><a name="finger_set">
finger_set</a><pre>
int finger_set()
</pre></br>
This method returns whether the player has set their finger info.
<br/><ul>
<li><b>Returns:</b>
<br/>1 if they have their finger information set, 0 if not

</dl>

<ul><a name="query_birthday">
query_birthday</a><pre>
string query_birthday()
</pre></br>
This method returns the players birthday.  The birthday will be
of the form "4th of july".
<br/><ul>
<li><b>Returns:</b>
<br/>the current birthday
<li><b>See also:</b>
<br/><a href="#set_birthday">set_birthday()</a> and <a href="#query_is_birthday_today">query_is_birthday_today()
</a></dl>

<ul><a name="query_desc">
query_desc</a><pre>
string query_desc()
</pre></br>
This method returns the current description of the player.
<br/><ul>
<li><b>Returns:</b>
<br/>the current description

<li><b>See also:</b>
<br/><a href="#set_desc">set_desc()</a></dl>

<ul><a name="query_email">
query_email</a><pre>
string query_email()
</pre></br>
This method returns the current email address of the player.
<br/><ul>
<li><b>Returns:</b>
<br/>the current email address

<li><b>See also:</b>
<br/><a href="#set_email">set_email()</a></dl>

<ul><a name="query_homepage">
query_homepage</a><pre>
string query_homepage()
</pre></br>
This method queries the current homepage for the player.
<br/><ul>
<li><b>Returns:</b>
<br/>their homepage url

<li><b>See also:</b>
<br/><a href="#set_homepage">set_homepage()</a></dl>

<ul><a name="query_is_birthday_today">
query_is_birthday_today</a><pre>
int query_is_birthday_today()
</pre></br>
This method checks to see if it is currently the players birthday.
<br/><ul>
<li><b>Returns:</b>
<br/>1 if it is their birthday, 0 if not
<li><b>See also:</b>
<br/><a href="#set_birthday">set_birthday()</a> and <a href="#query_birthday">query_birthday()
</a></dl>

<ul><a name="query_main_zone_desc">
query_main_zone_desc</a><pre>
string query_main_zone_desc(object * wearing)
</pre></br>
This method returns the main zone description to use in the
long of the player.
<br/><ul>
<li><b>Returns:</b>
<br/>the main zone description

</dl>

<ul><a name="query_race_desc">
query_race_desc</a><pre>
string query_race_desc()
</pre></br>
This method returns the current racial description of the player.
<br/><ul>
<li><b>Returns:</b>
<br/>the current description

<li><b>See also:</b>
<br/><a href="#set_race_desc">set_race_desc()</a></dl>

<ul><a name="query_real_name">
query_real_name</a><pre>
string query_real_name()
</pre></br>
This will return the real name of the player.
<br/><ul>
<li><b>Returns:</b>
<br/>the real name of the player
<li><b>See also:</b>
<br/><a href="#set_real_name">set_real_name()
</a></dl>

<ul><a name="query_rhosts">
query_rhosts</a><pre>
string * query_rhosts()
</pre></br>
Find out which IP addresses this user wants to be able to login from.


<ul><a name="query_where">
query_where</a><pre>
string query_where()
</pre></br>
This methoid returns the location of the player.  The location
is the location in their funger infor, so like "Perth, oz, whatever".
<br/><ul>
<li><b>Returns:</b>
<br/>their currently set location
<li><b>See also:</b>
<br/><a href="#set_where">set_where()
</a></dl>

<ul><a name="query_zone_desc">
query_zone_desc</a><pre>
string query_zone_desc(string zone)
</pre></br>
This method returns the zone description for the specified zone.
<br/><ul>
<li><b>Parameters:</b>
<br/>zone - the zone to get the description for
<li><b>Returns:</b>
<br/>the zone description

</dl>

<ul><a name="query_zone_desc_names">
query_zone_desc_names</a><pre>
string * query_zone_desc_names()
</pre></br>
This method returns all the zones there are currently descriptions for.
<br/><ul>
<li><b>Returns:</b>
<br/>the zones there are descriptions for

</dl>

<ul><a name="set_birthday">
set_birthday</a><pre>
void set_birthday(string i)
</pre></br>
This method sets the players current birthday.  The birthday
needs to be of the form:  "4th of July".
<br/><ul>
<li><b>Parameters:</b>
<br/>i - the new birthday to set
<li><b>See also:</b>
<br/><a href="#query_birthday">query_birthday()</a> and <a href="#query_is_birthday_today">query_is_birthday_today()
</a></dl>

<ul><a name="set_desc">
set_desc</a><pre>
void set_desc(string str)
</pre></br>
This method sets the description of the player.  The
description is the little bit of text seen in the long.
<br/><ul>
<li><b>Parameters:</b>
<br/>str - the new description of the player
<li><b>See also:</b>
<br/><a href="#query_desc">query_desc()
</a></dl>

<ul><a name="set_email">
set_email</a><pre>
nomask void set_email(string str)
</pre></br>
This method sets the current email address of the player.
<br/><ul>
<li><b>Parameters:</b>
<br/>str - the new email address

<li><b>See also:</b>
<br/><a href="#query_email">query_email()</a></dl>

<ul><a name="set_homepage">
set_homepage</a><pre>
nomask void set_homepage(string str)
</pre></br>
This method sets the players homepage.
<br/><ul>
<li><b>Parameters:</b>
<br/>their - homepage url

<li><b>See also:</b>
<br/><a href="#query_homepage">query_homepage()</a></dl>

<ul><a name="set_password">
set_password</a><pre>
void set_password(string pass)
</pre></br>
This method changes the password of the player.  It can only
be called by the login object at startup.
<br/><ul>
<li><b>Parameters:</b>
<br/>pass - the new password

</dl>

<ul><a name="set_race_desc">
set_race_desc</a><pre>
void set_race_desc(string str)
</pre></br>
This method sets the race description of the player.  The
description is the little bit of text seen in the long.
<br/><ul>
<li><b>Parameters:</b>
<br/>str - the new race description of the player
<li><b>See also:</b>
<br/><a href="#query_desc">query_desc()
</a></dl>

<ul><a name="set_real_name">
set_real_name</a><pre>
void set_real_name(string str)
</pre></br>
This will set the real name of the player.
<br/><ul>
<li><b>Parameters:</b>
<br/>str - the new real name of the player

<li><b>See also:</b>
<br/><a href="#query_name">query_name()</a></dl>

<ul><a name="set_rhosts">
set_rhosts</a><pre>
void set_rhosts(string * ips)
</pre>
<ul><a name="set_where">
set_where</a><pre>
void set_where(string str)
</pre></br>
This method sets the currnet location of the player.
<br/><ul>
<li><b>Parameters:</b>
<br/>str - the new location

<li><b>See also:</b>
<br/><a href="#query_location">query_location()</a></dl>

<ul><a name="set_zone_desc">
set_zone_desc</a><pre>
void set_zone_desc(string zone,
                   string desc)
</pre></br>
This method sets the description for the specific area of the body.
<br/><ul>
<li><b>Parameters:</b>
<br/>zone - the zone to set the description for
<br/>desc - the description for that zone

</dl>


[an error occurred while processing this directive]

