Cody WIP before cleanup

This commit is contained in:
2026-06-17 22:49:44 -04:00
parent 299687734f
commit abccaaa14c
7 changed files with 224 additions and 5 deletions

View File

@@ -37,6 +37,9 @@ private:
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category="Weapon Ammo", meta=(AllowPrivateAccess=true))
int RESERVE_AMMO_POOL_DEFAULT = 120;
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Weapon Ammo", meta=(AllowPrivateAccess=true))
TSubclassOf<AActor> ProjectileClass;
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, meta=(AllowPrivateAccess=true))
USkeletalMeshComponent* WeaponMesh;
@@ -55,6 +58,13 @@ public:
/*Functions*/
UFUNCTION()
void MagRepacking();
UFUNCTION(Server, Reliable, WithValidation, BlueprintCallable)
void Server_SpawnProjectile();
UFUNCTION(Client, Reliable, WithValidation, BlueprintCallable)
void Client_SpawnProjectile();
/*C++ only declarations*/
private: