Nuclide
Software Development Kit for id Technology (BETA)
Matrix

Matrix protocol integration. More...

Detailed Description

Matrix protocol integration.

The console command matrix_userID can be used to set certain infokeys of the local user to mimic that of a certain Matrix profile. An example format would look like: /matrix_userID @johndoe:example.com

https://spec.matrix.org/latest/

Functions

void Matrix_FetchAccountData (string apUserID)
 
void Matrix_UpdatePlayerInfo (string jsonData)
 
void Matrix_UpdatePlayerAvatar (string jsonData)
 

Macros

#define ACTIVITYPUB_ACCOUNTS   400
 
#define MATRIX_ACCOUNTS   401
 
#define MATRIX_MXC   402
 
#define ARCHIVE_ITEM_WEB   403
 
#define ARCHIVE_ITEM_TEXT   404
 
#define ARCHIVE_ITEM_VIDEO   405
 
#define ARCHIVE_ITEM_AUDIO   406
 
#define ARCHIVE_ITEM_SOFTWARE   407
 
#define ARCHIVE_ITEM_IMAGE   408
 

Function Documentation

◆ Matrix_FetchAccountData()

void Matrix_FetchAccountData ( string  apUserID)

◆ Matrix_UpdatePlayerAvatar()

void Matrix_UpdatePlayerAvatar ( string  jsonData)

◆ Matrix_UpdatePlayerInfo()

void Matrix_UpdatePlayerInfo ( string  jsonData)

Macro Definition Documentation

◆ ACTIVITYPUB_ACCOUNTS

#define ACTIVITYPUB_ACCOUNTS   400

◆ ARCHIVE_ITEM_AUDIO

#define ARCHIVE_ITEM_AUDIO   406

◆ ARCHIVE_ITEM_IMAGE

#define ARCHIVE_ITEM_IMAGE   408

◆ ARCHIVE_ITEM_SOFTWARE

#define ARCHIVE_ITEM_SOFTWARE   407

◆ ARCHIVE_ITEM_TEXT

#define ARCHIVE_ITEM_TEXT   404

◆ ARCHIVE_ITEM_VIDEO

#define ARCHIVE_ITEM_VIDEO   405

◆ ARCHIVE_ITEM_WEB

#define ARCHIVE_ITEM_WEB   403

◆ MATRIX_ACCOUNTS

#define MATRIX_ACCOUNTS   401

◆ MATRIX_MXC

#define MATRIX_MXC   402