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