Skip to content

Commit 495064a

Browse files
Fix Unreal Blackholio Tutorial for project rename (#4044)
# Description of Changes Fixes a problem with renaming the project from client_unreal to blackholio which causes the C++ header code to be incorrect # API and ABI breaking changes N/A # Expected complexity level and risk 1 - Updates a small portion of the Unreal Tutorial documentation # Testing Testing the current docs is what found the issue. - [x] Rebuilt the Unreal Blackholio from the tutorial --------- Signed-off-by: Jason Larabie <jason@clockworklabs.io> Co-authored-by: clockwork-labs-bot <clockwork-labs-bot@users.noreply.github.com>
1 parent bad5335 commit 495064a

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/docs/00100-intro/00300-tutorials/00400-unreal-tutorial/00300-part-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ Update `GameManager.h` as follows to set up the Unreal client connection to the
716716
class UDbConnection;
717717
718718
UCLASS()
719-
class CLIENT_UNREAL_API AGameManager : public AActor
719+
class BLACKHOLIO_API AGameManager : public AActor
720720
{
721721
GENERATED_BODY()
722722

docs/docs/00100-intro/00300-tutorials/00400-unreal-tutorial/00400-part-3.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ struct FEventContext;
13181318
struct FEntityType;
13191319
13201320
UCLASS()
1321-
class CLIENT_UNREAL_API AEntity : public AActor
1321+
class BLACKHOLIO_API AEntity : public AActor
13221322
{
13231323
GENERATED_BODY()
13241324
@@ -1433,7 +1433,7 @@ struct FCircleType;
14331433
class APlayerPawn;
14341434
14351435
UCLASS()
1436-
class CLIENT_UNREAL_API ACircle : public AEntity
1436+
class BLACKHOLIO_API ACircle : public AEntity
14371437
{
14381438
GENERATED_BODY()
14391439
@@ -1541,7 +1541,7 @@ Open `Food.h` and update it as follows:
15411541
struct FFoodType;
15421542
15431543
UCLASS()
1544-
class CLIENT_UNREAL_API AFood : public AEntity
1544+
class BLACKHOLIO_API AFood : public AEntity
15451545
{
15461546
GENERATED_BODY()
15471547
@@ -1600,7 +1600,7 @@ class ACircle;
16001600
struct FPlayerType;
16011601
16021602
UCLASS()
1603-
class CLIENT_UNREAL_API APlayerPawn : public APawn
1603+
class BLACKHOLIO_API APlayerPawn : public APawn
16041604
{
16051605
GENERATED_BODY()
16061606
@@ -1994,14 +1994,14 @@ class AFood;
19941994
class APlayerPawn;
19951995
19961996
UCLASS()
1997-
class CLIENT_UNREAL_API AGameManager : public AActor
1997+
class BLACKHOLIO_API AGameManager : public AActor
19981998
// ...
19991999
```
20002000

20012001
Add in public below the TokenFilePath:
20022002

20032003
```cpp
2004-
class CLIENT_UNREAL_API AGameManager : public AActor
2004+
class BLACKHOLIO_API AGameManager : public AActor
20052005
{
20062006
GENERATED_BODY()
20072007

@@ -2307,7 +2307,7 @@ Edit `BlackholioPlayerController.h` as follows:
23072307
class APlayerPawn;
23082308

23092309
UCLASS()
2310-
class CLIENT_UNREAL_API ABlackholioPlayerController : public APlayerController
2310+
class BLACKHOLIO_API ABlackholioPlayerController : public APlayerController
23112311
{
23122312
GENERATED_BODY()
23132313

0 commit comments

Comments
 (0)