parent
6417d6644f
commit
3a536e646a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
|
||||||
|
#include "PartyMember.h"
|
||||||
|
|
||||||
|
FPartyMember::FPartyMember()
|
||||||
|
{
|
||||||
|
UnitInfo = nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
FPartyMember::FPartyMember(UUnitInfo* InUnitInfo)
|
||||||
|
{
|
||||||
|
UnitInfo = InUnitInfo;
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "CoreMinimal.h"
|
||||||
|
#include "UnitInfo.h"
|
||||||
|
#include "PartyMember.generated.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
USTRUCT(Blueprintable, BlueprintType)
|
||||||
|
struct SPACEBATTLER_API FPartyMember
|
||||||
|
{
|
||||||
|
GENERATED_BODY()
|
||||||
|
|
||||||
|
FPartyMember();
|
||||||
|
explicit FPartyMember(UUnitInfo* InUnitInfo);
|
||||||
|
|
||||||
|
UPROPERTY(BlueprintReadWrite)
|
||||||
|
UUnitInfo* UnitInfo = nullptr;
|
||||||
|
|
||||||
|
UPROPERTY(BlueprintReadOnly)
|
||||||
|
int32 Available = 0;
|
||||||
|
|
||||||
|
UPROPERTY(BlueprintReadOnly)
|
||||||
|
int32 Allocated = 0;
|
||||||
|
};
|
Loading…
Reference in new issue