11
This commit is contained in:
@@ -170,6 +170,7 @@ class Rindro_EventList {
|
||||
local Jso = Json.Decode(Chunk);
|
||||
X = Jso.YosinEventIconInfoXpos;
|
||||
Y = Jso.YosinEventIconInfoYpos;
|
||||
|
||||
|
||||
getroottable()["LenheartEventOffset"] <- {
|
||||
x = X - 456,
|
||||
@@ -228,30 +229,6 @@ function Lenheart_EventList_Fun(obj) {
|
||||
}
|
||||
}
|
||||
|
||||
//获取活动图标坐标 在活动图标变动时会被调用
|
||||
function Sq_Get_Event_Pos_X() {
|
||||
if (getroottable().rawin("LenheartEventOffset")) {
|
||||
return getroottable()["LenheartEventOffset"].x;
|
||||
} else {
|
||||
getroottable()["LenheartEventOffset"] <- {
|
||||
x = 277,
|
||||
y = 530
|
||||
};
|
||||
return getroottable()["LenheartEventOffset"].x;
|
||||
}
|
||||
}
|
||||
|
||||
function Sq_Get_Event_Pos_Y() {
|
||||
if (getroottable().rawin("LenheartEventOffset")) {
|
||||
return getroottable()["LenheartEventOffset"].y;
|
||||
} else {
|
||||
getroottable()["LenheartEventOffset"] <- {
|
||||
x = 277,
|
||||
y = 530
|
||||
};
|
||||
return getroottable()["LenheartEventOffset"].y;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user