Newer
Older
SkyFrontier-Project-IADE-UE4-3D / Source / SkyFrontier / Public / MyButton.h
@Genexuz Genexuz on 6 Dec 2022 456 bytes idk matchmaking?
// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "TCPClient.h"
#include "Components/Button.h"
#include "MyButton.generated.h"

/**
 * 
 */
UCLASS()
class SKYFRONTIER_API UMyButton : public UButton
{
	GENERATED_BODY()
public:
	UMyButton();
	void SetSessionInfo(int sID, TCPClient *tclient);
protected:  int sessionID;
	TCPClient *tcpClient;
	
	UFUNCTION()
	void OnClick();
	
};