plik


PHPXRef 0.7 : NEABExplorer : Detail view of quests_util.php [ Index ] PHP Cross Reference of NEABExplorer if (gwGetCookie('xrefnav')=='off') document.write('[ Show Explorer ]'); else document.write('[ Hide Explorer ]'); [ Show Explorer ] [ Hide Navbar ] titleBody[close] /libs/ -> quests_util.php (summary) [Source view] [Print] [Project Stats] Utility package to deal with quests. File Size: 854 lines (21 kb) Included or required:0 times Referenced: 0 times Includes or requires: 0 files Defines 33 functions   quest_error()   my_eval()   do_discussion()   macro_check()   set_qv_part()   get_qv_part()   set_quest_var_part()   get_quest_var_part()   macro_gain_experience()   gain_experience()   gain_user_experience()   gain_gold()   add_journal()   finish_quest()   is_quest_started()   is_quest_finished()   first_item()   random_number()   monster_kills()   change_alignement()   change_location()   add_hp()   add_mp()   kill_player()   monster_combat()   add_query_box()   change_sickness()   blueprint_add()   is_member()   block_gui()   unblock_gui()   is_date_in_between()   is_date() Functions Functions that are not part of a class: quest_error($errno, $errmsg, $filename, $linenum, $vars)   X-Ref Error handler used with the dialogs param: integer $errno param: integer $errmsg param: string $filename param: integer $linenum param: array $vars my_eval($code)   X-Ref Evaluate a PHP code (runs with some global variable accessible) param: string $code do_discussion()   X-Ref Show a dialog. macro_check($table,$where)   X-Ref Checks if a quest condition is met or not. param: string $table param: string $where return: boolean set_qv_part($quest,$var,$part,$val)   X-Ref Deprecated function. param: unknown_type $quest param: unknown_type $var param: unknown_type $part param: unknown_type $val get_qv_part($quest,$var,$part)   X-Ref Deprecated function param: unknown_type $quest param: unknown_type $var param: unknown_type $part return: unknown set_quest_var_part($var,$part,$val)   X-Ref Deprecated function param: unknown_type $var param: unknown_type $part param: unknown_type $val return: unknown get_quest_var_part($var,$part)   X-Ref Deprecated function param: unknown_type $var param: unknown_type $part return: unknown macro_gain_experience($exp)   X-Ref Set the experience, level param: integer $exp gain_experience($exp,$display=true)   X-Ref Give some experience to a player param: integer $exp param: bool $display return: string gain_user_experience($userid,$exp)   X-Ref Give some experience to a player param: integer $userid param: integer $exp gain_gold($gold)   X-Ref Gives some gold to the player. Limited to 200'000 param: integer $gold add_journal($quest,$entry)   X-Ref Add a journal entry. param: integer $quest param: string $entry finish_quest($quest)   X-Ref Define a given quest as finished. param: integer $quest is_quest_started($quest)   X-Ref Check if a quest as been started. param: integer $quest return: boolean is_quest_finished($quest)   X-Ref Checks if a quest has been finished. param: integer $quest return: boolean first_item()   X-Ref Returns true on the first call, and then false; Used to show only 1 of the dialog link. return: boolean random_number()   X-Ref Returns a number between 0-100. On mulitple runs it will return the same number. return: integer monster_kills($monsterid)   X-Ref Returns the count of the monster of this type killed by the player. param: integer $monsterid return: integer change_alignement($val)   X-Ref Change player alignement. param: integer $val change_location($loc)   X-Ref Transfer the player to a new location. param: integer $loc add_hp($nb)   X-Ref Changes player HP. param: integer $nb add_mp($nb)   X-Ref Changes the player MP. param: integer $nb kill_player()   X-Ref Kills the player. monster_combat($monster,$onfinish)   X-Ref Start a combat with the specified monster. The $onfinish parameter will be used as "callback" link once the combat is finished. param: integer $monster param: string $onfinish add_query_box($str,$id)   X-Ref Ask a question during a dialog. param: string $str param: integer $id change_sickness($s)   X-Ref Changes the "sickness" of a player param: integer $s blueprint_add($id)   X-Ref Gives a blueprint to the player. param: integer $id object ID is_member($id)   X-Ref Checks if the player is member of a given clan. param: integer $id return: boolean block_gui()   X-Ref Blocks most of the menu options. unblock_gui()   X-Ref Unblocks the menu. is_date_in_between($ds,$ms,$de,$me)   X-Ref Checks if a date is between a specified dd/mm param: integer $ds param: integer $ms param: integer $de param: integer $me return: boolean is_date($d,$m)   X-Ref Check if the date is exactly at a specified dd/mm param: unknown_type $d param: unknown_type $m return: unknown Generated: Sun Jul 8 18:11:25 2007 Cross-referenced by PHPXref 0.7

Wyszukiwarka

Podobne podstrony:
quests util
quests util
Util js
group util ?lay
TSM UTIL
java util MissingResourceException
java util Properties
java util ListResourceBundle
map util
Package java util zip
java util zip Adler32
java util zip ZipInputStream
java util zip DeflaterOutputStream
image map util
java util zip InflaterInputStream
java util zip GZIPOutputStream
java util Vector
java util NoSuchElementException
java util zip CheckedOutputStream

więcej podobnych podstron