HIVE SDK for Unreal Engine

HiveChat.h
이 파일의 문서화 페이지로 가기
1
19#pragma once
20
21#include "CoreMinimal.h"
22#include "Impl/HiveChatImpl.h"
23
24HIVESDK_API IHiveChatImpl* GetChatInstance();
25
39class HIVESDK_API FHiveChat
40{
41public:
59 static void CreateChannel(FHiveCreateChannelParams const & params, const FHiveChatOnResultDelegate& Delegate);
60
78 static void GetChannels(TOptional<FHiveGetChannelsParams> params, const FHiveChatOnGetChannelsDelegate& Delegate);
79
95 static void GetChannelInfo(const FString& channelId, const FHiveChatOnGetChannelInfoDelegate& Delegate);
96
112 static void GetChannelMembers(const FString& channelId, const FHiveChatOnGetChannelMembersDelegate& Delegate);
113
129 static void DeleteChannel(const FString& channelId, const FHiveChatOnResultDelegate& Delegate);
130
148 static void EnterChannel(const FHiveEnterChannelParams& params, const FHiveChatOnResultDelegate& Delegate);
149
165 static void ExitChannel(const FString& channelId, const FHiveChatOnResultDelegate& Delegate);
166
182 static void GetChannelsByUser(const FHiveChatOnGetChannelsByUserDelegate& Delegate);
183
201 static void GetBlockMembers(const FHiveChatOnGetBlockMembersDelegate& Delegate);
202
218 static void BlockMember(int64 blockPlayerId, const FHiveChatOnResultDelegate& Delegate);
219
235 static void UnblockMember(int64 blockPlayerId, const FHiveChatOnResultDelegate& Delegate);
236
252 static void Connect(const FString& extraData, const FHiveChatOnResultDelegate& Delegate);
253
269 static void Disconnect(const FHiveChatOnResultDelegate& Delegate);
270
286 static void SendMessageWithChannelSendMessageParams(FHiveChannelSendMessageParams const & params, const FHiveChatOnResultDelegate& Delegate);
287
303 static void SendMessageWithDirectSendMessageParams(FHiveDirectSendMessageParams const & params, const FHiveChatOnResultDelegate& Delegate);
304
320 static void AddChannelListener(const FString& uniqueKey, FHiveChannelListener* listener);
321
337 static void AddDirectMessageListener(const FString& uniqueKey, FHiveDirectMessageListener* listener);
338
354 static void AddConnectionListener(const FString& uniqueKey, FHiveConnectionListener* listener);
355
369 static void RemoveChannelListener(const FString& uniqueKey);
370
384 static void RemoveDirectMessageListener(const FString& uniqueKey);
385
399 static void RemoveConnectionListener(const FString& uniqueKey);
400
414 static bool IsConnected();
415};
채널 이벤트 리스너
Definition: HiveChatTypes.h:318
채널 메시지 전송 파라미터
Definition: HiveChatTypes.h:178
HiveChat은 실시간, 그룹, 1:1 채팅, 유저 간 차단 기능 등 게임에서 원활한 채팅을 할 수 있도록 필요한 핵심 기능을 제공하기 때문에 유저 간 협력을 증가시켜 게임 플레이...
Definition: HiveChat.h:40
연결 리스너
Definition: HiveChatTypes.h:348
채널 생성 파라미터
Definition: HiveChatTypes.h:123
1:1 메시지 리스너
Definition: HiveChatTypes.h:335
1:1 메시지 전송 파라미터
Definition: HiveChatTypes.h:194
채널 입장 파라미터
Definition: HiveChatTypes.h:162
static bool IsConnected()
소켓 연결 상태 확인 현재 소켓이 연결되어 있는지 확인합니다.
static void Disconnect(const FHiveChatOnResultDelegate &Delegate)
채팅서버 연결 해제 채팅서버와의 연결을 해제합니다.
static void GetChannelInfo(const FString &channelId, const FHiveChatOnGetChannelInfoDelegate &Delegate)
채널 정보 조회 채널 ID를 입력받아, 해당 채널의 정보를 조회합니다.
static void GetChannels(TOptional< FHiveGetChannelsParams > params, const FHiveChatOnGetChannelsDelegate &Delegate)
채널 목록 조회 접근 가능한 채널 목록을 조회합니다.
static void GetChannelsByUser(const FHiveChatOnGetChannelsByUserDelegate &Delegate)
참여중인 채널 목록 조회 참여중인 채널 목록을 조회합니다.
static void CreateChannel(FHiveCreateChannelParams const &params, const FHiveChatOnResultDelegate &Delegate)
채널 생성
static void RemoveConnectionListener(const FString &uniqueKey)
연결 리스너 제거 등록된 연결 리스너를 제거합니다.
static void Connect(const FString &extraData, const FHiveChatOnResultDelegate &Delegate)
채팅서버에 연결 채팅서버에 연결을 시도합니다.
static void DeleteChannel(const FString &channelId, const FHiveChatOnResultDelegate &Delegate)
채널 삭제 채널 ID를 입력받아, 해당 채널을 삭제합니다.
static void GetBlockMembers(const FHiveChatOnGetBlockMembersDelegate &Delegate)
차단된 사용자 목록 조회 차단된 사용자 목록을 조회합니다.
static void RemoveDirectMessageListener(const FString &uniqueKey)
1:1 메시지 리스너 제거 등록된 1:1 메시지 리스너를 제거합니다.
static void EnterChannel(const FHiveEnterChannelParams &params, const FHiveChatOnResultDelegate &Delegate)
채널 입장 채널 ID를 입력받아, 채널에 접속합니다.
static void SendMessageWithDirectSendMessageParams(FHiveDirectSendMessageParams const &params, const FHiveChatOnResultDelegate &Delegate)
1:1 메시지 전송 수신자 ID와 메시지를 입력받아, 해당 사용자에게 메시지를 전송합니다.
static void BlockMember(int64 blockPlayerId, const FHiveChatOnResultDelegate &Delegate)
사용자 차단 사용자 ID를 입력받아, 해당 사용자를 차단합니다.
static void AddChannelListener(const FString &uniqueKey, FHiveChannelListener *listener)
채널 리스너 등록 채널 이벤트를 수신하기 위한 리스너를 등록합니다.
static void AddConnectionListener(const FString &uniqueKey, FHiveConnectionListener *listener)
연결 리스너 등록 채팅서버 연결 상태를 수신하기 위한 리스너를 등록합니다.
static void RemoveChannelListener(const FString &uniqueKey)
채널 리스너 제거 등록된 채널 리스너를 제거합니다.
static void SendMessageWithChannelSendMessageParams(FHiveChannelSendMessageParams const &params, const FHiveChatOnResultDelegate &Delegate)
채널 메시지 전송 채널 ID와 메시지를 입력받아, 해당 채널에 메시지를 전송합니다.
static void GetChannelMembers(const FString &channelId, const FHiveChatOnGetChannelMembersDelegate &Delegate)
채널 멤버 조회 채널 ID를 입력받아, 해당 채널의 멤버 목록을 조회합니다.
static void ExitChannel(const FString &channelId, const FHiveChatOnResultDelegate &Delegate)
채널 퇴장 채널 ID를 입력받아, 해당 채널에서 퇴장합니다.
static void AddDirectMessageListener(const FString &uniqueKey, FHiveDirectMessageListener *listener)
1:1 메시지 리스너 등록 1:1 메시지를 수신하기 위한 리스너를 등록합니다.
static void UnblockMember(int64 blockPlayerId, const FHiveChatOnResultDelegate &Delegate)
사용자 차단 해제 사용자 ID를 입력받아, 해당 사용자의 차단을 해제합니다.
Copyright © Com2uS Platform Corporation. All Right Reserved. 이용약관 개인정보 처리방침