#if 0 //--------------------------------------------// // 本文件为自动生成,请勿编辑 // // thanks to 最萌小汐 // //--------------------------------------------// #endif #ifdef USE_BJ_ANTI_LEAK #ifndef YDWESetPlayerColorBJNullIncluded #define YDWESetPlayerColorBJNullIncluded library YDWESetPlayerColorBJNull function YDWESetPlayerColorBJNull takes player whichPlayer, playercolor color, boolean changeExisting returns nothing local group g call SetPlayerColor(whichPlayer, color) if changeExisting then set bj_setPlayerTargetColor = color set g = CreateGroup() call GroupEnumUnitsOfPlayer(g, whichPlayer, null) call ForGroup(g, function SetPlayerColorBJEnum) call DestroyGroup(g) endif set g = null endfunction endlibrary #endif #endif