Pragma Engine 0.0.19
2021-05-25
Features #
- Game server metrics support
MatchEndV2supports newmetricsfieldMatchEndV2has improved names and structure
- Instanced Items run initialization plugin in all cases, including
- Match End Grants
- Rewards
- Store Purchase
- Unity SDK
- All RPCs defined in the Lobby service are now available through the
RawAPI.
- All RPCs defined in the Lobby service are now available through the
- Unreal SDK
- Added a full, stateful Lobby implementation accessible via
Session().LobbyService()- Enable by adding the following to your
DefaultGame.ini:[/Script/PragmaSDK.PragmaLobbyService]<br />bEnabled=true
- Enable by adding the following to your
- Raw api services can now be accessed directly via
Session::GetService()(Session.Account().Raw()style is still available though). PragmaResultnow has anError()method that gets the error (ifIsFailureis true) as a new typeFPragmaErrorwhich encompasses new platform & sdk error enums.- Protocol internals now use
TUniqueFunctioninstead ofTFunction(Can nowMoveTempintoRawmethods lambda captures).- Eliminated an excess copy when passing delegates to
Rawmethods. TPromise/TFuturecan be used more cleanly with Raw methods as you can nowMoveTemp(TPromise)into aRawmethod lambda.
- Eliminated an excess copy when passing delegates to
- Add
SessionServicewhich contains logic for logout and session attributes.SessionService().DisconnectV1()method.- The method will call
RequestLogoutV1on both connections. - Calls callback once both connections have closed.
- The method will call
SessionService().GetAttribute- Used to retrieve current Session attributes.
SessionService().GetAttributeChangedDelegate- Used to watch for
SessionAttributechanges.
- Used to watch for
- Currently the only Session Attribute is the Game
LobbyId.
- Added opt-in compile-time deprecation warnings
- To enable, in your
Project.Build.csaddPrivateDefinitions.Add("PRAGMASDK_ENABLE_DEPRECATION_WARNINGS");
- To enable, in your
- Added a full, stateful Lobby implementation accessible via
Deprecation #
REMOVED this release: Pragma Engine - Scheduled for REMOVAL in 0.0.21:
N/A Pragma Engine - DEPRECATED this release (Scheduled for 0.0.22):
InstancedEntry.instance_defaultsto be replaced byExtensionInstancedEntry.extProtos to be deleted since they are unused
StackableEntryUpdateInstancedEntryUpdateInventoryUpdateV1Notification
Protos deprecated because a new version is available
MatchEndV1RequestMatchEndV1ResponseMatchEndV1NotificationMatchEndPayloadPragmaMatchEndDataPragmaPlayerMatchEndData
UnrealSDK
UPragmaConnection::OnDisconnected. Please useUPragmaConnection::OnDisconnectedV2.TPragmaResult::UnknownErrorCode. Please useFPragmaError::UnknownError.