-
Notifications
You must be signed in to change notification settings - Fork 9
Added IsFinished, LogInfo and ClearOnFinish #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* Added a boolean flag to enable Log.Info messages in the code. * Added a boolean flag to track whether the song has finished playing. * Added a boolean flag to determine whether, upon finishing the track, the component and the referenceHub should be destroyed. * Documented and improved PlayerIsConnected check to determine if the player is a DummyPlayer, as it's unnecessary to send audio packets to them. * Added Visual Studio and Rider related build files to .gitignore.
|
@ced777ric PING. you're not going to ignore me for 3 months like #6 |
#6 was not ignored, it has conflicts and requested changes. |
|
| hub.nicknameSync.NickSet && | ||
| !hub.isLocalPlayer && | ||
| !string.IsNullOrEmpty(hub.authManager.UserId) && | ||
| hub.authManager.UserId != null && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The userid is checked for being null checked twice, once by IsNullOrEmpty and the second time with a null check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ups


Added a boolean flag to enable Log.Info messages in the code.
Added a boolean flag to track whether the song has finished playing.
Added a boolean flag to determine whether, upon finishing the track, the component and the referenceHub should be destroyed.
Documented and improved PlayerIsConnected check to determine if the player is a DummyPlayer, as it's unnecessary to send audio packets to them.
Added Visual Studio and Rider related build files to .gitignore.