123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html><head><title>Python: exit</title>
- </head><body bgcolor="#f0f0f8">
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
- <tr bgcolor="#7799ee">
- <td valign=bottom> <br>
- <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>exit</strong></big></big></font></td
- ><td align=right valign=bottom
- ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br>(built-in)</font></td></tr></table>
- <p><tt>The exit module, for all MUD exit-related stuff.</tt></p>
- <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ee77aa">
- <td colspan=3 valign=bottom> <br>
- <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
-
- <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
- <td width="100%"><dl>
- <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
- </font></dt><dd>
- <dl>
- <dt><font face="helvetica, arial"><a href="exit.html#Exit">Exit</a>
- </font></dt></dl>
- </dd>
- </dl>
- <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ffc8d8">
- <td colspan=3 valign=bottom> <br>
- <font color="#000000" face="helvetica, arial"><a name="Exit">class <strong>Exit</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
-
- <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
- <td colspan=2><tt>Python <a href="#Exit">Exit</a> <a href="__builtin__.html#object">object</a><br> </tt></td></tr>
- <tr><td> </td>
- <td width="100%">Methods defined here:<br>
- <dl><dt><a name="Exit-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#Exit-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
- <dl><dt><a name="Exit-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Exit-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl>
- <dl><dt><a name="Exit-close"><strong>close</strong></a>(...)</dt><dd><tt><a href="#Exit-close">close</a>()<br>
- <br>
- Close the exit's door if it exists.</tt></dd></dl>
- <dl><dt><a name="Exit-filldoor"><strong>filldoor</strong></a>(...)</dt><dd><tt><a href="#Exit-filldoor">filldoor</a>()<br>
- <br>
- Erase a door that was on the exit.</tt></dd></dl>
- <dl><dt><a name="Exit-lock"><strong>lock</strong></a>(...)</dt><dd><tt><a href="#Exit-lock">lock</a>()<br>
- <br>
- Locks the exit's door if it exists. Also closes.</tt></dd></dl>
- <dl><dt><a name="Exit-makedoor"><strong>makedoor</strong></a>(...)</dt><dd><tt><a href="#Exit-makedoor">makedoor</a>(name=None, keywords=None, opposite=None, closed=False, locked=False)<br>
- <br>
- Create a door for the exit.</tt></dd></dl>
- <dl><dt><a name="Exit-open"><strong>open</strong></a>(...)</dt><dd><tt><a href="#Exit-open">open</a>()<br>
- <br>
- Opens the exit's door if it exists. Also unlocks.</tt></dd></dl>
- <dl><dt><a name="Exit-unlock"><strong>unlock</strong></a>(...)</dt><dd><tt><a href="#Exit-unlock">unlock</a>()<br>
- <br>
- Unlocks the exit's door if it exists.</tt></dd></dl>
- <hr>
- Data descriptors defined here:<br>
- <dl><dt><strong>desc</strong></dt>
- <dd><tt>The verbose description of the exit when, e.g., it is looked at.</tt></dd>
- </dl>
- <dl><dt><strong>dest</strong></dt>
- <dd><tt>The room that this exit leads to. Can be set either by assigning a<br>
- world room key, or an actual room.</tt></dd>
- </dl>
- <dl><dt><strong>destproto</strong></dt>
- <dd><tt>The world room key of our destination. Immutable.</tt></dd>
- </dl>
- <dl><dt><strong>enter_mssg</strong></dt>
- <dd><tt>A message for when a char enters the room via this exit.</tt></dd>
- </dl>
- <dl><dt><strong>hidden</strong></dt>
- <dd><tt>Alias for exit.Exit.spot_diff</tt></dd>
- </dl>
- <dl><dt><strong>is_closable</strong></dt>
- <dd><tt>True or False if an exit can be closed. Immutable.</tt></dd>
- </dl>
- <dl><dt><strong>is_closed</strong></dt>
- <dd><tt>True or False if an exit is closed. Immutable.</tt></dd>
- </dl>
- <dl><dt><strong>is_locked</strong></dt>
- <dd><tt>True or False if an exit is locked.</tt></dd>
- </dl>
- <dl><dt><strong>key</strong></dt>
- <dd><tt>An object prototype name that can be used to unlock this exit. Can be<br>
- set either by assigning a prototype name, or an actual object.</tt></dd>
- </dl>
- <dl><dt><strong>keywords</strong></dt>
- <dd><tt>A comma-separated string of the door's keywords.</tt></dd>
- </dl>
- <dl><dt><strong>leave_mssg</strong></dt>
- <dd><tt>A message for when a character leaves a room via this exit.</tt></dd>
- </dl>
- <dl><dt><strong>name</strong></dt>
- <dd><tt>The name of the door for this exit, if any.</tt></dd>
- </dl>
- <dl><dt><strong>opposite</strong></dt>
- <dd><tt>if the exit is special, a dir name for the exit that leads back to<br>
- this exit's room.</tt></dd>
- </dl>
- <dl><dt><strong>pick_diff</strong></dt>
- <dd><tt>Integer value representing how hard the exit's lock is to pick.</tt></dd>
- </dl>
- <dl><dt><strong>room</strong></dt>
- <dd><tt>The room we this exit is attached to. Immutable.</tt></dd>
- </dl>
- <dl><dt><strong>spot_diff</strong></dt>
- <dd><tt>Integer value representing how hard to see the exit is.</tt></dd>
- </dl>
- <dl><dt><strong>uid</strong></dt>
- <dd><tt>The exit's universal identification nubmer. Immutable.</tt></dd>
- </dl>
- <hr>
- Data and other attributes defined here:<br>
- <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x6f780><dd><tt>T.<a href="#Exit-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl>
- </td></tr></table></td></tr></table>
- </body></html>
|