Newer
Older
SkyFrontier-Project-IADE-UE4-3D / Source / SkyFrontier / Public / MyButtonHost.h
@Genexuz Genexuz on 6 Dec 2022 479 bytes idk matchmaking
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2. #pragma once
  3. #include "CoreMinimal.h"
  4. #include "TCPClient.h"
  5. #include "Components/Button.h"
  6. #include "MyButtonHost.generated.h"
  7. /**
  8. *
  9. */
  10. UCLASS()
  11. class SKYFRONTIER_API UMyButtonHost : public UButton
  12. {
  13. GENERATED_BODY()
  14. public:
  15. UMyButtonHost();
  16. void SetSessionInfo(FString sname, TCPClient *tclient);
  17. protected: FString sessionName;
  18. TCPClient *tcpClient;
  19. UFUNCTION()
  20. void OnClick();
  21. };