sorry ,i’m English is not good. If you are not clear, please forgive me.
I have a question.
like this : HUD->Input:name & password & ip address ->click button to connect to dedicated Server
i launch edit. Through debug observation.Start the process step is:
1:AGameMode::AGameMode
2:AGameState::AGameState
3:AGameMode::PreLogin
4:AGameMode::Login
5:APlayerController::APlayerController
6:APlayerState::APlayerState
7:APlayerController::BeginPlay
8:AGameMode::InitNewPlayer
9:AGameMode::PostLogin
10:APlayerCharacter::APlayerCharacter
11:APlayerController::APlayerController
12:APlayerCharacter::APlayerCharacter
13:APlayerState::APlayerState
What should I do if I want to log in? Client through IP how to find the server?
May I called GameMode::PreLogin in AController? but GameMode::PreLogin already executed.
I would appreciate some help, txs
If you know Chinese.as follows
我想在游戏开始前必须登录,通过服务器验证通过后才能进入游戏。
通过debug查看了游戏启动流程,如上面所提步骤。
如过需要登录验证,客户端需要怎么提交请求给服务器进行验证。应该在那一步进行这个操作。
是否是通过游戏启动后,客户端输入用户名、密码和ip地址然后通过playercontroller 调用 gamemode的prelogin进行验证?
如过不是应该怎么做?
如过可以的话请告诉我怎么做或者思路,谢谢!