mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
dedde94643
* the process of using card (uncompleted) * code style: tab is 2 spaces(not \t or 4 space) * update lua54.dll to MinGW version(no cygwin1.dll required) * basic ui logic * ActiveSkill * modidy ActiveSkill defaults * todo: defaultEquipSkill * client * send use card to server * playing phase, equip Co-authored-by: Ho-spair <linyuy@163.com>
14 lines
339 B
JavaScript
14 lines
339 B
JavaScript
callbacks["UpdateAvatar"] = function(jsonData) {
|
|
mainWindow.busy = false;
|
|
Self.avatar = jsonData;
|
|
toast.show("Update avatar done.");
|
|
}
|
|
|
|
callbacks["UpdatePassword"] = function(jsonData) {
|
|
mainWindow.busy = false;
|
|
if (jsonData === "1")
|
|
toast.show("Update password done.");
|
|
else
|
|
toast.show("Old password wrong!", 5000);
|
|
}
|