mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Wrist online friend counter 1
This commit is contained in:
+3
-4
@@ -6323,6 +6323,7 @@ speechSynthesis.getVoices();
|
|||||||
API.$on('USER:CURRENT', function (args) {
|
API.$on('USER:CURRENT', function (args) {
|
||||||
// USER:CURRENT에서 처리를 함
|
// USER:CURRENT에서 처리를 함
|
||||||
$app.refreshFriends(args.ref, args.origin);
|
$app.refreshFriends(args.ref, args.origin);
|
||||||
|
$app.updateOnlineFriendCoutner();
|
||||||
});
|
});
|
||||||
|
|
||||||
API.$on('USER', function (args) {
|
API.$on('USER', function (args) {
|
||||||
@@ -11455,10 +11456,8 @@ speechSynthesis.getVoices();
|
|||||||
this.updateVRLastLocation();
|
this.updateVRLastLocation();
|
||||||
this.updateVrNowPlaying();
|
this.updateVrNowPlaying();
|
||||||
this.updateSharedFeed(true);
|
this.updateSharedFeed(true);
|
||||||
AppApi.ExecuteVrFeedFunction(
|
this.onlineFriendCount = 0;
|
||||||
'updateOnlineFriendCount',
|
this.updateOnlineFriendCoutner();
|
||||||
`${this.onlineFriendCount}`
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
API.$on('LOGIN', function () {
|
API.$on('LOGIN', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user