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.
26 lines
659 B
26 lines
659 B
3 years ago
|
#if 0
|
||
|
//--------------------------------------------//
|
||
|
// 本文件为自动生成,请勿编辑 //
|
||
|
// thanks to 最萌小汐 //
|
||
|
//--------------------------------------------//
|
||
|
#endif
|
||
|
#ifdef USE_BJ_ANTI_LEAK
|
||
|
#ifndef YDWEWakePlayerUnitsNullIncluded
|
||
|
#define YDWEWakePlayerUnitsNullIncluded
|
||
|
|
||
|
|
||
|
library YDWEWakePlayerUnitsNull
|
||
|
|
||
|
function YDWEWakePlayerUnitsNull takes player whichPlayer returns nothing
|
||
|
local group g = CreateGroup()
|
||
|
call GroupEnumUnitsOfPlayer(g, whichPlayer, null)
|
||
|
call ForGroup(g, function WakePlayerUnitsEnum)
|
||
|
call DestroyGroup(g)
|
||
|
set g = null
|
||
|
endfunction
|
||
|
|
||
|
endlibrary
|
||
|
|
||
|
#endif
|
||
|
#endif
|