[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/guild_things/quota/thief_receipts.c</h2>
This is the data structure for receipt data.  It stores data
for every receipt generated.  Each thief record consists of 
a mapping of these records indexed by a unique ID number.<h2>Inherits</h2>
This class inherits the following classes /obj/handlers/guild_things/quota/cache_handler.c<h2>Includes</h2>
This class includes the following files <a href="include.thief.h.shtml">/include/thief.h</a>, <a href="include.money.h.shtml">/include/money.h</a> and /include/shops/bank.h<h2>Method index</h2>
<dl><ul>
<li><a href="#delete_record">delete_record</a>(string, int)<br/>
This method is calledto delete the receipt record for 
outdated receipts

<li><a href="#process_theft">process_theft</a>(object, object, object, object, object *)<br/>
This function is called by the Ankh-Morpork theft handler to
process theft events.
<li><a href="#query_data">query_data</a>(string)<li><a href="#query_receipt_info">query_receipt_info</a>(string)<br/>
This function is called by the thief receipt book to query
information about a thief's receipts.
<li><a href="#query_total_stolen">query_total_stolen</a>(string)<br/>
This method is called to query the total amount reported stolen
by a thief in the current quota period.
<li><a href="#report_theft">report_theft</a>(object)<br/>
This function is called by the Ankh-Morpork receipt clerk
when a receipt is turned into the guild.
<li><a href="#update_receipts">update_receipts</a>(string)<br/>
This function is called when a thieves' quota resets to remove
old receipt data.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="delete_record">
delete_record</a><pre>
void delete_record(string thief,
                   int id)
</pre></br>
This method is calledto delete the receipt record for 
outdated receipts

<br/><ul>
<li><b>Parameters:</b>
<br/>thief - name of thief
<br/>id - id number of thief

</dl>

<ul><a name="process_theft">
process_theft</a><pre>
object process_theft(object place,
                     object command_ob,
                     object thief,
                     object victim,
                     object * stolen)
</pre></br>
This function is called by the Ankh-Morpork theft handler to
process theft events.

<br/><ul>
<li><b>Parameters:</b>
<br/>thief - the thief object
<br/>victim - the victim object
<br/>stolen - array objects stolen

</dl>

<ul><a name="query_data">
query_data</a><pre>
mapping query_data(string thief)
</pre>
<ul><a name="query_receipt_info">
query_receipt_info</a><pre>
string query_receipt_info(string thief)
</pre></br>
This function is called by the thief receipt book to query
information about a thief's receipts.

<br/><ul>
<li><b>Parameters:</b>
<br/>thief - the name of the thief

</dl>

<ul><a name="query_total_stolen">
query_total_stolen</a><pre>
int query_total_stolen(string thief)
</pre></br>
This method is called to query the total amount reported stolen
by a thief in the current quota period.

<br/><ul>
<li><b>Parameters:</b>
<br/>thief - name of thief

</dl>

<ul><a name="report_theft">
report_theft</a><pre>
int report_theft(object receipt)
</pre></br>
This function is called by the Ankh-Morpork receipt clerk
when a receipt is turned into the guild.

<br/><ul>
<li><b>Parameters:</b>
<br/>receipt - receipt object

</dl>

<ul><a name="update_receipts">
update_receipts</a><pre>
void update_receipts(string thief)
</pre></br>
This function is called when a thieves' quota resets to remove
old receipt data.

<br/><ul>
<li><b>Parameters:</b>
<br/>thief - name of thief

</dl>


[an error occurred while processing this directive]

