“Lpc:Efun”的版本间的差异

来自MudWiki
PCRE 相关函数(PCRE)
Ivy讨论 | 贡献
其它(新增)函数(Contrib)
 
第69行: 第69行:
  
 
== 其它(新增)函数(Contrib) ==
 
== 其它(新增)函数(Contrib) ==
[[abs]]、[[assemble_class]]、[[base_name]]、[[classes]]、[[compressedp]]、[[copy]]、[[disassemble_class]]、[[element_of]]、[[event]]、[[fetch_class_member]]、[[fetch_variable]]、[[file_length]]、[[function_owner]]、[[functions]]、[[get_garbage]]、[[heart_beats]]、[[is_daylight_savings_time]]、[[max]]、[[memory_summary]]、[[min]]、[[named_livings]]、[[network_stats]]、[[num_classes]]、[[pluralize]]、[[program_info]]、[[query_charmode]]、[[query_ip_port]]、[[query_notify_fail]]、[[query_num]]、[[query_replaced_program]]、[[questions]]、[[real_time]]、[[remove_charmode]]、[[remove_get_char]]、[[remove_shadow]]、[[replaceable]]、[[restore_from_string]]、[[roll_MdN]]、[[send_nullbyte]]、[[set_prompt]]、[[shuffle]]、[[store_class_member]]、[[store_variable]]、[[terminal_colour]]、[[test_load]]、[[upper_case]]、[[variables]]、[[zonetime]]
+
[[abs]]、[[assemble_class]]、[[base_name]]、[[classes]]、[[compressedp]]、[[copy]]、[[disassemble_class]]、[[element_of]]、[[event]]、[[fetch_class_member]]、[[fetch_variable]]、[[file_length]]、[[function_owner]]、[[functions]]、[[get_garbage]]、[[heart_beats]]、[[is_daylight_savings_time]]、[[max]]、[[memory_summary]]、[[min]]、[[named_livings]]、[[network_stats]]、[[num_classes]]、[[pluralize]]、[[program_info]]、[[query_charmode]]、[[query_ip_port]]、[[query_notify_fail]]、[[query_num]]、[[query_replaced_program]]、[[real_time]]、[[remove_charmode]]、[[remove_get_char]]、[[remove_shadow]]、[[replaceable]]、[[restore_from_string]]、[[roll_MdN]]、[[send_nullbyte]]、[[set_prompt]]、[[shuffle]]、[[store_class_member]]、[[store_variable]]、[[terminal_colour]]、[[test_load]]、[[upper_case]]、[[variables]]、[[zonetime]]

2020年3月11日 (三) 09:29的最新版本

Efun是直接在driver中实现的函数,和对象无关,可直接使用,执行速度最快。目前主要EFUN有以下类别。

数组相关函数(Arrays)

allocatearraypfilter_arraymap_arraymember_arraypointerpsort_arrayunique_array

缓冲区相关函数(Buffers)

allocate_bufferbufferpbuffer_transcodecrc32read_bufferwrite_buffer

调用相关函数(Calls)

call_othercall_outcatchoriginprevious_objectquery_shadowingremove_call_outshadowthis_objectthrow

数据库相关函数(DB)

db_closedb_commitdb_connectdb_execdb_fetchdb_rollbackdb_status

在线编辑相关函数(ED)

eded_cmded_startquery_ed_mode

文件系统相关函数(Filesystem)

cpfile_sizeget_dirlinkmkdirread_bytesread_filerenamermrmdirstatwrite_byteswrite_file

浮点运算相关函数(Floats)

acosasinatanceilcosexpfloatpfloorlogpowroundsinsqrttanto_int

函数相关函数(Functions)

bindevaluatefunctionp

常规函数(General)

filtermapnullprestore_variablesave_variablesizeoftypeofundefinedp

互动对象(玩家)相关函数(Interactive)

add_actioncommandcommandsdisable_commandsdisable_wizardenable_commandsenable_wizardexecfind_playerget_charin_editin_inputinput_tointeractivemessagenotify_failprintfquery_encodingquery_host_namequery_idlequery_ip_namequery_ip_numberquery_snoopquery_snoopingreceiveremove_actionremove_interactiveresolvesayset_encodingset_this_playershoutsnoopthis_interactivethis_playerthis_useruserpuserswritewizardp

内部处理相关函数(Internals)

cache_statsdebug_messagedebug_infodump_file_descriptorsdump_progdumpallobjget_configmalloc_statusmemory_infomud_statusopcprofquery_load_averagerefsrusageset_debug_levelset_malloc_maskswaptime_expressiontracetraceprefix

映射相关函数(Mappings)

allocate_mappingeachfilter_mappingkeysmap_deletemap_mappingmappmatch_pathunique_mappingvalues

MUDLIB相关函数(Mudlib)

author_statsdomain_statsexport_uidfind_livinggeteuidgetuidlivinglivingsquery_privsset_authorset_lightset_living_nameset_privsseteuid

数字相关函数(Numbers)

intprandomto_float

对象相关函数(Objects)

all_inventorychildrenclone_objectclonepdeep_inventorydestructenvironmentfile_namefind_objectfirst_inventoryload_objectmastermove_objectnewnext_inventoryobjectpobjectspresentquery_heart_beatreload_objectrestore_objectsave_objectset_heart_beatset_hidetell_objecttell_roomvirtualp

语法分析相关函数(Parsing)

parse_commandprocess_stringprocess_valuequery_verb

PCRE 相关函数(PCRE)

pcre_assocpcre_cachepcre_extractpcre_matchpcre_versionpcre_replacepcre_replace_callback

SOCKET相关函数(Sockets)

socket_acceptsocket_acquiresocket_addresssocket_bindsocket_closesocket_connectsocket_createsocket_errorsocket_listensocket_releasesocket_statussocket_write

字符串相关函数(Strings)

break_stringcapitalizeclear_bitcryptexplodeimplodelower_caseoldcryptreg_assocregexprepeat_stringreplace_stringset_bitsprintfsscanfstrcmpstring_decodestring_differencestring_encodestringpstrlenstrsrchstrwidthtest_bittrimltrimrtrim

系统相关函数(System)

all_previous_objectscall_out_infoclasspctimedeep_inherit_listerroreval_costfind_call_outfunction_existsfunction_profileinherit_listinheritslocaltimemax_eval_costreclaim_objectsreplace_programreset_eval_costset_eval_limitset_resetshutdowntimeuptime

其它(新增)函数(Contrib)

absassemble_classbase_nameclassescompressedpcopydisassemble_classelement_ofeventfetch_class_memberfetch_variablefile_lengthfunction_ownerfunctionsget_garbageheart_beatsis_daylight_savings_timemaxmemory_summaryminnamed_livingsnetwork_statsnum_classespluralizeprogram_infoquery_charmodequery_ip_portquery_notify_failquery_numquery_replaced_programreal_timeremove_charmoderemove_get_charremove_shadowreplaceablerestore_from_stringroll_MdNsend_nullbyteset_promptshufflestore_class_memberstore_variableterminal_colourtest_loadupper_casevariableszonetime