111
This commit is contained in:
31
LenheartCallBack/Sq_DrawItem.nut
Normal file
31
LenheartCallBack/Sq_DrawItem.nut
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
文件名:Sq_DrawItem.nut
|
||||
路径:LenheartCallBack/Sq_DrawItem.nut
|
||||
创建日期:2022-09-05 21:11
|
||||
文件用途:绘制Item的函数 CallBack
|
||||
*/
|
||||
if (!getroottable().rawin("Sq_DrawItemTable")) Sq_DrawItemTable <- {}
|
||||
|
||||
function DrawItem_Siroco(Xpos, Ypos) {
|
||||
local obj = sq_GetMyMasterCharacter();
|
||||
BasicsDrawTool.T_DrawDynamicAni(obj, "common/item_effect/siroco.ani", Xpos, Ypos, "sirocoequani");
|
||||
}
|
||||
|
||||
|
||||
Sq_DrawItemTable.rawset(L_Sq_GetImg(2019185), DrawItem_Siroco);
|
||||
Sq_DrawItemTable.rawset(L_Sq_GetImg(2022110703), DrawItem_Siroco);
|
||||
Sq_DrawItemTable.rawset(L_Sq_GetImg(2022110704), DrawItem_Siroco);
|
||||
|
||||
|
||||
function Sq_DrawItemBack(Xpos, Ypos, Image) {
|
||||
//Sout("X坐标 %L",Xpos);
|
||||
//Sout("Y坐标 %L",Ypos);
|
||||
//UnderBaseDraw.T_DrawDynamicAni("character/gunner/effect/animation/revolvercriticaldamageup/revolver_critical_damage_up1.ani", Xpos + 10, Ypos + 40,"qqBMain0");
|
||||
}
|
||||
|
||||
function Sq_DrawItemFront(Xpos, Ypos, Image) {
|
||||
|
||||
// if (Xpos == 10 && Ypos == 4) DebugInfo();
|
||||
if (Sq_DrawItemTable.rawin(Image)) Sq_DrawItemTable[Image](Xpos, Ypos);
|
||||
//UnderBaseDraw.T_DrawDynamicAni("common/item_effect/100.ani", Xpos, Ypos, "qqBMain0");
|
||||
}
|
||||
Reference in New Issue
Block a user