BattlEyeConnectEventHandler
Closed this issue · 4 comments
KingOfGerrit commented
How to make BattlEyeConnectEvent return string or bool?
marceldev89 commented
You can change event stuff here.
KingOfGerrit commented
But how b.BattlEyeConnected += BattlEyeConnected; return in variable bool?
DomiStyle commented
BattlEyeConnected can't return a bool, you need to handle all connection related code inside of the event.
Take a look at the BattlEyeConnectEventArgs inside the connect event.
You can see it here: https://github.com/mvries/BattleNET/blob/master/BattleNET%20client/Program.cs#L102
args.ConnectionResult is what you want.
marceldev89 commented
Closing for now, ty @DomiStyle.