5#include "CoreMinimal.h"
6#include "UObject/NoExportTypes.h"
7#include "PPF_Platform.h"
8#include "OnlineSubsystemPico.h"
9#include "Kismet/BlueprintFunctionLibrary.h"
10#include "Pico_Networking.generated.h"
13DECLARE_LOG_CATEGORY_EXTERN(PicoNetworking, Log, All);
33 FOnlineSubsystemPico& PicoSubsystem;
51 bool SendPacket(
const FString& UserId, TArray<uint8> BinaryArray);
65 bool SendPacket(
const FString& UserId, TArray<uint8> BinaryArray,
bool bReliable);
99 bool ReadPacket(TArray<uint8>& OutBinaries, FString& OutSendId);
139 UFUNCTION(BlueprintCallable, meta = (WorldContext =
"WorldContextObject"), Category =
"OnlinePico|Networking")
140 static
bool SendPacket(UObject* WorldContextObject, const FString& UserId, TArray<uint8> BinaryArray,
bool bReliable);
154 UFUNCTION(BlueprintCallable, meta = (WorldContext = "WorldContextObject"), Category = "OnlinePico|Networking")
155 static
bool SendPacketToCurrentRoom(UObject* WorldContextObject, TArray<uint8> BinaryArray,
bool bReliable);
167 UFUNCTION(BlueprintCallable, meta = (WorldContext = "WorldContextObject"), Category = "OnlinePico|Networking")
168 static
bool ReadPacket(UObject* WorldContextObject, TArray<uint8>& OutBinaries, FString& SendUserID);
PicoNetworkingInterface class.
Definition: Pico_Networking.h:30
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:120