5#include "CoreMinimal.h"
6#include "UObject/NoExportTypes.h"
7#include "PPF_Platform.h"
8#include "OnlineSubsystemPico.h"
9#include "Pico_Networking.generated.h"
12DECLARE_LOG_CATEGORY_EXTERN(PicoNetworking, Log, All);
32 FOnlineSubsystemPico& PicoSubsystem;
50 bool SendPacket(
const FString& UserId, TArray<uint8> BinaryArray);
64 bool SendPacket(
const FString& UserId, TArray<uint8> BinaryArray,
bool bReliable);
98 bool ReadPacket(TArray<uint8>& OutBinaries, FString& OutSendId);
138 UFUNCTION(BlueprintCallable, meta = (WorldContext =
"WorldContextObject"), Category =
"OnlinePico|Networking")
139 static
bool SendPacket(UObject* WorldContextObject, const FString& UserId, TArray<uint8> BinaryArray,
bool bReliable);
153 UFUNCTION(BlueprintCallable, meta = (WorldContext = "WorldContextObject"), Category = "OnlinePico|Networking")
154 static
bool SendPacketToCurrentRoom(UObject* WorldContextObject, TArray<uint8> BinaryArray,
bool bReliable);
166 UFUNCTION(BlueprintCallable, meta = (WorldContext = "WorldContextObject"), Category = "OnlinePico|Networking")
167 static
bool ReadPacket(UObject* WorldContextObject, TArray<uint8>& OutBinaries, FString& SendUserID);
PicoNetworkingInterface class.
Definition: Pico_Networking.h:29
bool SendPacketToCurrentRoom(TArray< uint8 > BinaryArray, bool bReliable)
Sends messages to other users in the room. The maximum messaging frequency is 1000/s.
bool SendPacketToCurrentRoom(TArray< uint8 > BinaryArray)
Sends messages to other users in the room. The maximum messaging frequency is 1000/s.
bool ReadPacket(TArray< uint8 > &OutBinaries, FString &OutSendId)
Reads the messages from other users in the room.
bool SendPacket(const FString &UserId, TArray< uint8 > BinaryArray)
Sends messages to a specified user. The maximum messaging frequency is 1000/s.
bool SendPacket(const FString &UserId, TArray< uint8 > BinaryArray, bool bReliable)
Sends messages to a specified user. The maximum messaging frequency is 1000/s.
OnlinePicoNetworking Blueprint Function class.
Definition: Pico_Networking.h:119