Newer
Older
SkyFrontier-Project-IADE-UE4-3D / Source / SkyFrontier / Public / MyButton.h
@Genexuz Genexuz on 6 Dec 2022 456 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 "MyButton.generated.h"
  7. /**
  8. *
  9. */
  10. UCLASS()
  11. class SKYFRONTIER_API UMyButton : public UButton
  12. {
  13. GENERATED_BODY()
  14. public:
  15. UMyButton();
  16. void SetSessionInfo(int sID, TCPClient *tclient);
  17. protected: int sessionID;
  18. TCPClient *tcpClient;
  19. UFUNCTION()
  20. void OnClick();
  21. };