//注意函数合并
function onOpenWindPopupWindows_All(obj, popupType, windowTileType)
{
if (popupType == 42 )//打開公會信息欄時
{
sq_OpenPopupWindow(217, 0, 0, 0);//同時打開公會告示欄
}
}
function onOpenPopupWindow_Swordman(obj, popupType, windowTileType)//每个职业打开窗口时执行的函数
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_Fighter(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_Gunner(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_Mage(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_ATGunner(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_Thief(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_ATFighter(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_DemonicSwordman(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_Priest(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_ATMage(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
function onOpenPopupWindow_ATSwordman(obj, popupType, windowTileType)
{
if(!obj) return;
onOpenWindPopupWindows_All(obj, popupType, windowTileType)
}
sqr/extend_function/onopenpopupwindow.nut 函数合并进去就可以了,文本第一个fun粘贴进去,其余都要合并
© 版权声明
THE END
暂无评论内容