Some fixes for class names and queue (added base class).

This commit is contained in:
BenDol
2014-06-07 04:10:14 +12:00
parent 00253e46b3
commit c083d02bef
29 changed files with 94 additions and 59 deletions

View File

@@ -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

View File

@@ -1,5 +1,5 @@
-- @docclass
ProtocolLogin = extends(Protocol)
ProtocolLogin = extends(Protocol, "ProtocolLogin")
LoginServerError = 10
LoginServerUpdate = 17

View File

@@ -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