Contents
Unreal Engine 4
Microsoft Visual Studio Express 2013 for Windows Desktop
Setting Up Visual Studio for UE4
Protocol
Naming Conventions * Methods * Style * Organization
Replication
Game types and replicated values?
- Declare the UPROPERTY as replicated in C++
- Initialize the state of the variable in the game type constructor
- Declare the type of replication in the game type GetLifetimeReplicatedProps function
Low Level
Structure
Explains the basic client only {Camera, HUD}, client and server {Pawn, Character, PlayerState, GameState}, and server-only {Controller} junction points.
Objects
Unreal Object Handling UObject Instance Creation
Pointers
When referring to something you use may shared pointers (pointer + reference count), shared references, or weak pointers.
The shared pointer types are optimal for higher level or lower frequency access.
.IsValid() is used on shared pointers to check if they are NULL.
Usage Patterns
- Caching a pointer to something using a weak pointer does not touch reference counting thus requires a check against NULL before access (and it gets set to NULL automatically when the instance it points to gets destroyed).
- The shared pointer itself requires a check against IsValid before access.
- Custom C++ classes may want to implement FSerializableObject to handle reference counting when they refer to other UObject classes.
- Assigning NULL to a smart pointer may force a deletion of the object.
Actors
Destruction
API Overview
Page Information
2022-12-07T09:56:19.995893Z
2014-08-16T16:56:17Z
Rejecht
/* Unreal Engine 4 */
https://wiki.beyondunreal.com/User:Rejecht/Getting Started UE4
Attribution-NonCommercial-ShareAlike 3.0