LEAP Documentation 40220
Documentation for the LEAP project
CosmeticsManager.h File Reference
#include "CoreMinimal.h"
#include "Runtime/Json/Public/Dom/JsonObject.h"
#include "CosmeticAssetBase.h"
#include "Stats/NakamaManager.h"
#include "Components/ActorComponent.h"
#include "PlayerStructs.h"
#include "CosmeticsManager.generated.h"

Go to the source code of this file.

Classes

struct  FEquipItem
 
struct  FEquipsList
 
struct  FEquips
 
struct  FSharedPlayerInfo
 
struct  FCosmeticDeals
 
struct  FCosmeticStoreItem
 
struct  FGeneralCosmetics
 
struct  FCosmeticReward
 
struct  FCosmeticRewards
 
struct  FItem
 
struct  FBestWeaponInfos
 
struct  FPlayerEquipRequest
 

Enumerations

enum class  EEquipType : uint8 { Cosmetic = 0 , Weapon = 1 , Perk = 2 }
 
enum class  EColourSlot : uint8 { None = 0 }
 

Functions

 DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam (FLoadOutLoadedSignature, bool, bSucess)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FPurchaseSignature, bool, bSucess, const FString &, ItemID)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam (FEquippedCosmeticsLoadedSignature, const FString &, PlayerID)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FCosmeticRewardSignature, const TArray< FCosmeticReward > &, ItemIDs, int, Currency, bool, bFoundRewards)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE (FCosmeticsLoadedSignature)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FMenuConfigsLoadedSignature, const FSharedPlayerInfo &, PlayerInfo, const FString &, PlayerID)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FGeneralCosmeticsChangedSignature, const FGeneralCosmetics &, GeneralCosmetics, const FString &, PlayerID)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams (FChallengeRewardSignature, const FString &, ChallengeID, int32, Currency, int32, Experience, const TArray< FCosmeticReward > &, ItemList)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FPerksUpdatedSignature, TSubclassOf< AProjectXCharacter >, CharacterClass, TSubclassOf< UWeaponInstance >, WeaponClass, uint8, SlotID)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FEquipItemUpdatedSignature, ECosmeticType, Type, const FString &, ShortCode, const FString &, EquipKey)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams (FPlayerEquipItemUpdatedSignature, const FString &, PlayerID, ECosmeticType, Type, const FString &, ShortCode, const FString &, EquipKey)
 

Variables

const TMap< FString, int > Months = { {"Jan",1}, {"Feb",2}, {"Mar",3}, {"Apr",4}, {"May",5}, {"Jun",6}, {"Jul",7}, {"Aug",8}, {"Sep",9}, {"Oct",10}, {"Nov",11}, {"Dec",12} }
 

Enumeration Type Documentation

◆ EColourSlot

enum class EColourSlot : uint8
strong
Enumerator
None 

◆ EEquipType

enum class EEquipType : uint8
strong
Enumerator
Cosmetic 
Weapon 
Perk 

Function Documentation

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE()

DECLARE_DYNAMIC_MULTICAST_DELEGATE ( FCosmeticsLoadedSignature  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams() [1/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams ( FChallengeRewardSignature  ,
const FString &  ,
ChallengeID  ,
int32  ,
Currency  ,
int32  ,
Experience  ,
const TArray< FCosmeticReward > &  ,
ItemList   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams() [2/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams ( FPlayerEquipItemUpdatedSignature  ,
const FString &  ,
PlayerID  ,
ECosmeticType  ,
Type  ,
const FString &  ,
ShortCode  ,
const FString &  ,
EquipKey   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam() [1/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam ( FEquippedCosmeticsLoadedSignature  ,
const FString &  ,
PlayerID   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam() [2/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam ( FLoadOutLoadedSignature  ,
bool  ,
bSucess   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams() [1/3]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams ( FCosmeticRewardSignature  ,
const TArray< FCosmeticReward > &  ,
ItemIDs  ,
int  ,
Currency  ,
bool  ,
bFoundRewards   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams() [2/3]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams ( FEquipItemUpdatedSignature  ,
ECosmeticType  ,
Type  ,
const FString &  ,
ShortCode  ,
const FString &  ,
EquipKey   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams() [3/3]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams ( FPerksUpdatedSignature  ,
TSubclassOf< AProjectXCharacter ,
CharacterClass  ,
TSubclassOf< UWeaponInstance ,
WeaponClass  ,
uint8  ,
SlotID   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams() [1/3]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FGeneralCosmeticsChangedSignature  ,
const FGeneralCosmetics ,
GeneralCosmetics  ,
const FString &  ,
PlayerID   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams() [2/3]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FMenuConfigsLoadedSignature  ,
const FSharedPlayerInfo ,
PlayerInfo  ,
const FString &  ,
PlayerID   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams() [3/3]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FPurchaseSignature  ,
bool  ,
bSucess  ,
const FString &  ,
ItemID   
)

Variable Documentation

◆ Months

const TMap<FString, int> Months = { {"Jan",1}, {"Feb",2}, {"Mar",3}, {"Apr",4}, {"May",5}, {"Jun",6}, {"Jul",7}, {"Aug",8}, {"Sep",9}, {"Oct",10}, {"Nov",11}, {"Dec",12} }