11
This commit is contained in:
@@ -50,7 +50,12 @@ class Tuguan_NewC extends LenheartNewUI_Windows {
|
||||
State = 2;
|
||||
}
|
||||
|
||||
BoxWindowName = Rindro_ItemInfoObject[BoxId].Name;
|
||||
//读取物品名称
|
||||
local ItemObject = L_sq_GetItem(BoxId);
|
||||
local NamePointer = L_sq_RA(ItemObject + 0x20);
|
||||
local Name = NativePointer(L_sq_I2P(NamePointer)).readUnicodeString();
|
||||
|
||||
BoxWindowName = Name;
|
||||
Visible = true;
|
||||
//初始化完成
|
||||
InitState = true;
|
||||
@@ -201,7 +206,7 @@ class Tuguan_NewC extends LenheartNewUI_Windows {
|
||||
local ItemId = RewardObj[i][z]["itemid"];
|
||||
local ItemCount = RewardObj[i][z]["num"];
|
||||
//绘制物品
|
||||
L_Sq_DrawItem((X - 195) + 198 + 30 + 9 + ((ofs % 4) * 86) + (z * 34) + 3, Y + 62 + 9 + ((ofs / 4) * 50) + 3, ItemId, ItemCount, 0, 0, 0);
|
||||
DrawItemEx((X - 195) + 198 + 30 + 9 + ((ofs % 4) * 86) + (z * 34) + 3, Y + 62 + 9 + ((ofs / 4) * 50) + 3, ItemId, ItemCount);
|
||||
if (sq_IsIntersectRect(IMouse.GetXPos(), IMouse.GetYPos(), 1, 1, (X - 195) + 198 + 30 + 9 + ((ofs % 4) * 86) + (z * 34) + 3, Y + 62 + 9 + ((ofs / 4) * 50) + 3, 24, 24)) {
|
||||
ItemInfoDrawS = {};
|
||||
ItemInfoDrawS.X <- (X - 195) + 198 + 30 + 9 + ((ofs % 4) * 86) + (z * 34) + 3;
|
||||
|
||||
Reference in New Issue
Block a user