-
Notifications
You must be signed in to change notification settings - Fork 4
Battle/feature - Win Lose Server Call #1226
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
base: main
Are you sure you want to change the base?
Conversation
Should mean now that the photon id and the accountId should match.
Changed logging to use BattleDebugLogger Improved code readability
Niklas603619
left a comment
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.
Battle changes approved
There is some problems with the server call
@BillTheBeast can check the problems and should review ServerManager changes
Changed durationSec from float to int Changed to only send playerUserIds that are in the game
Improved formatting Added some comments Removed unnecessary white space
Disabled Debug.LogWarning since it unnecessarily clutters logs when not debugging this specific method
BillTheBeast
left a comment
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.
Toi for looppi, jossa team1 ja team2 arrayt asetetaan, on varmaankin mahdollista tehdä hieman yksinkertaisemmin kuin mitä tuo nyt on tuossa.
Mutta muuten ihan jees.
Added server call for battle results. Now server is able to track wins and losses.
LobbyManager
ServerManager
InLobbyController
SoulHomeLoad
BattleGameViewController