Group
The group feature allows games to provide a chatroom for players to plan and execute strategies for their guild wars and party games. Players can easily create in-game chatrooms and also communicate with players outside the game.
note
The group feature currently only supports the Kakao channel for Android and iOS games.
Step 1: Integrate the Kakao channel
Integrate the Kakao channel to support the group feature.
Step 2: Register the callback
Add the following callbacks for the group feature.
- Unity
- Unreal Engine
API | Function |
---|---|
AddGroupBaseResultObserver | Adds the BaseResult callback to manage ShowGroupAgreementWindow and ShowGroupChatRoom callbacks. |
RemoveGroupBaseResultObserver | Deletes the BaseResult callback. |
API | Function |
---|---|
SetGroupBaseResultObserver | Sets the BaseResult callback for the group feature. |
GetGroupBaseResultObserver | Gets the BaseResult callback for the group feature. |
OnGroupReqInfoResult_Implementation | Implements the BaseResult callbacks for ShowGroupAgreementWindow and ShowGroupChatRoom. |
Step 3: Implement the group feature
Implement the group feature with Player Network SDK APIs, see:
- Unity
- Unreal Engine
API | Function |
---|---|
ShowGroupAgreementWindow | Opens the guild agreement popup |
ShowGroupChatRoom | Opens the guild chatroom |
API | Function |
---|---|
ShowGroupAgreementWindow | Opens the guild agreement popup |
ShowGroupChatRoom | Opens the guild chatroom |
Directly implement the group feature from the backend APIs, see:
API | Function |
---|---|
create_guild | Checks the guild chatroom creation status |
join_guild | Enables the player to join a guild chatroom |
guild_status | Creates a guild chatroom |