mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Some fixes for class names and queue (added base class).
This commit is contained in:
@@ -52,9 +52,10 @@ function g_game.getSupportedClients()
|
||||
792, 800, 810, 811, 840, 842, 850,
|
||||
853, 854, 860, 861, 862, 870, 910,
|
||||
940, 944, 953, 954, 960, 961, 963,
|
||||
970, 980, 981, 982, 983, 984, 985,
|
||||
986, 1001, 1002, 1010, 1020, 1021,
|
||||
1022, 1031, 1034, 1035, 1036, 1037
|
||||
970, 972, 973, 980, 981, 982, 983,
|
||||
984, 985, 986, 1001, 1002, 1010,
|
||||
1020, 1021, 1022, 1031, 1034, 1035,
|
||||
1036, 1037
|
||||
}
|
||||
end
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
-- @docclass
|
||||
ProtocolLogin = extends(Protocol)
|
||||
ProtocolLogin = extends(Protocol, "ProtocolLogin")
|
||||
|
||||
LoginServerError = 10
|
||||
LoginServerUpdate = 17
|
||||
|
@@ -1,5 +1,5 @@
|
||||
-- @docclass
|
||||
UICreatureButton = extends(UIWidget)
|
||||
UICreatureButton = extends(UIWidget, "UICreatureButton")
|
||||
|
||||
local CreatureButtonColors = {
|
||||
onIdle = {notHovered = '#888888', hovered = '#FFFFFF' },
|
||||
@@ -25,10 +25,6 @@ function UICreatureButton.create()
|
||||
return button
|
||||
end
|
||||
|
||||
function UICreatureButton:getClassName()
|
||||
return 'UICreatureButton'
|
||||
end
|
||||
|
||||
function UICreatureButton:setCreature(creature)
|
||||
self.creature = creature
|
||||
end
|
||||
|
Reference in New Issue
Block a user