FUABT_RtcConnection

Contains connection information.

USTRUCT(BlueprintType)
struct FRtcConnection
{
	GENERATED_BODY()
public:
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcConnection")
	FString channelId = "";
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcConnection")
	int64 localUid = 0;
	FRtcConnection(){}
	FRtcConnection(const agora::rtc::RtcConnection & AgoraData){
		channelId = UTF8_TO_TCHAR(AgoraData.channelId);
		localUid = AgoraData.localUid;
	}
	agora::rtc::RtcConnection CreateAgoraData() const {
		agora::rtc::RtcConnection AgoraData;
		SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.channelId, this->channelId)
		AgoraData.localUid = localUid;
		return AgoraData;
	}
	void FreeAgoraData(agora::rtc::RtcConnection & AgoraData) const {
		SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.channelId)
	}
	
};

Attributes

channelId
The channel name.
localUid
The ID of the local user.