/XAPIUnrealEngine

Basic XAPI Implementation with Unreal Engine

Primary LanguageC++

For unreal 5 implemenation please see https://github.com/CanadianADLlab/XAPIUnreal5

To use simple add the XAPIManger to a level (Can be found if you search for it in the PlaceActors area)

image1

Now set up the endpoint and the basic auth key which can be found in your lrs settings. The end point HAS TO BE THE url/statments so for example it would be https://insertmylrshere.net/data/xAPI/statements, in the unity package the url I used was https://insertmylrshere.net/data/xAPI causing some confusion here for myself.

image2


To reference in C++ just add the XAPIManger as a UProperty and set it via the inspector

iamge3


Than call the CreateXAPIPhrase function to send info to the lrs

image4