You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatestaticreadonlyModConfigurationKey<Uri>NotificationSoundUri=newModConfigurationKey<Uri>("NotificationSound","Notification sound for user joining or leaving - Disabled when null",()=>null);
22
30
31
+
[AutoRegisterConfigKey]
32
+
privatestaticreadonlyModConfigurationKey<bool>OverrideLeaveSound=newModConfigurationKey<bool>("OverrideLeaveSound","Override the notification sound for leaving",()=>false);
33
+
[AutoRegisterConfigKey]
34
+
privatestaticreadonlyModConfigurationKey<Uri>NotificationLeaveSoundUri=newModConfigurationKey<Uri>("NotificationLeaveSound","Notification sound for leaving - Only used if override is enabled - Disabled when null",()=>null);
23
35
36
+
privatestaticModConfigurationconfig;
24
37
privatestaticMethodInfoaddNotification;
25
38
26
39
privatestaticUserBagcurrentUserBag;
27
-
28
-
40
+
41
+
privatestaticStaticAudioClipjoinLeaveAudioClip;
42
+
privatestaticStaticAudioClipleaveAudioClip;
43
+
29
44
publicstaticvoidSetup()
30
45
{
31
46
// Hook into the world focused event
@@ -54,12 +69,11 @@ private static void OnUserJoined(SyncBagBase<RefID, User> bag, RefID key, User u
0 commit comments