NPC交易添加音效
This commit is contained in:
@@ -88,9 +88,12 @@ class NpcTransactionC extends LenheartNewUI_Windows {
|
||||
DiaTimer = Clock();
|
||||
if (Jso.rawin("glod")) {
|
||||
TransactionGlod = Jso.glod;
|
||||
R_Utils.PlaySound("GOLD_PAY_OUT");
|
||||
}
|
||||
if (Jso.rawin("equ")) {
|
||||
TransactionEqu = Jso.equ;
|
||||
} else {
|
||||
R_Utils.PlaySound("ALERT_2");
|
||||
}
|
||||
}.bindenv(this));
|
||||
|
||||
@@ -211,6 +214,7 @@ class NpcTransactionC extends LenheartNewUI_Windows {
|
||||
ReplacementEqu = info.itemId;
|
||||
SendPackEx(info);
|
||||
}
|
||||
R_Utils.PlaySound("CHANGE_ALERT");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -306,6 +310,7 @@ class NpcTransactionC extends LenheartNewUI_Windows {
|
||||
Button.Parent.CloseAllEach();
|
||||
Button.Parent.CloseWindow();
|
||||
ResetFocus();
|
||||
R_Utils.PlaySound("WINDOW_SHOW");
|
||||
}.bindenv(this);
|
||||
ApplyEngagementButton.SetCallBackFunc(function(Button) {})
|
||||
SThis.AddChild(ApplyEngagementButton);
|
||||
|
||||
Reference in New Issue
Block a user