You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
752 B
32 lines
752 B
#if 0
|
|
//--------------------------------------------//
|
|
// 本文件为自动生成,请勿编辑 //
|
|
// thanks to 最萌小汐 //
|
|
//--------------------------------------------//
|
|
#endif
|
|
#ifdef USE_BJ_ANTI_LEAK
|
|
#ifndef YDWEGetForceOfPlayerNullIncluded
|
|
#define YDWEGetForceOfPlayerNullIncluded
|
|
|
|
|
|
library YDWEGetForceOfPlayerNull
|
|
|
|
globals
|
|
#ifndef YDWE_NNULLTEMPFORCE_DEFVAR
|
|
#define YDWE_NNULLTEMPFORCE_DEFVAR
|
|
force yd_NullTempForce
|
|
#endif
|
|
endglobals
|
|
|
|
function YDWEGetForceOfPlayerNull takes player whichPlayer returns force
|
|
local force f = CreateForce()
|
|
call ForceAddPlayer(f, whichPlayer)
|
|
set yd_NullTempForce = f
|
|
set f = null
|
|
return yd_NullTempForce
|
|
endfunction
|
|
|
|
endlibrary
|
|
|
|
#endif
|
|
#endif
|
|
|