プレイテスト - フレンドを追加する - (Unreal Engine モジュール)
Test canceling friend request
Compile the project and open it in the Unreal Editor. In the Editor, play the game. In the Login with Steam module, you implemented logins with Steam. Log in with the device ID and test finding a potential friend by inputting your Steam account display name and send the friend invitation. Once done, try to cancel the friend invitation.
If successful, you will see the following log.
```
LogFriendsEssentials: Warning: Success to cancel a friend request.
```
Test rejecting friend request
You will test using two game clients. The first game client will log in using a device ID and the other one will log in using Steam. Ensure you have Steam opened and logged in with an account that owns the Steam game with the App ID you used when configuring the SDK. For more information about Steam login, please refer to Login with Steam.
Compile the project and open it in the Unreal Editor. Then, set up the multiplayer options as below. This will launch two game clients in Standalone Mode when you play the game, as Steam will only work if the game runs in Standalone Mode. Make sure that you have the
bAutoLogin
value set asfalse
in theConfig/DefaultEngine.ini
.Play the game. On the first game client (referred to as Player A), log in with a device ID. On the second (referred to as Player B), log in with Steam. Ensure the auto-login feature is disabled. Refer to Login with Steam for more information.
Once the game clients are logged in, send a friend invitation from Player A to Player B. Then, let Player B reject the invitation.
If successful, you will see the following log:
LogFriendsEssentials: Warning: Success to reject a friend request.
Test accepting friend request
You will test using two game clients. The first game client will log in using a device ID and the other one will log in using Steam. Ensure you have Steam opened and logged in with an account that owns the Steam game with the App ID you used when configuring the SDK. For more information about Steam login, please refer to Login with Steam.
Compile the project and open it in the Unreal Editor. Then, set up the multiplayer options as below. This will launch two game clients in Standalone Mode when you play the game, as Steam will only work if the game runs in Standalone Mode. Make sure that you have the
bAutoLogin
value set asfalse
in theConfig/DefaultEngine.ini
.Play the game. On the first game client (referred to as Player A), log in with a device ID. On the second (referred to as Player B), log in with Steam. Ensure the auto-login feature is disabled. Refer to Login with Steam for more information.
Once the game clients are logged in, send a friend invitation from Player A to Player B. Then, let Player B accept the invitation.
If successful, you will see the following log:
LogFriendsEssentials: Warning: Success to accept a friend request.