quantum-space-buddies/QSB/API/IQSBAPI.cs

15 lines
318 B
C#
Raw Normal View History

2023-07-29 00:26:12 +00:00
using System;
namespace QSB.API;
internal interface IQSBAPI
{
uint GetLocalPlayerID();
void SetCustomData<T>(uint playerId, string key, T data);
T GetCustomData<T>(uint playerId, string key);
void SendMessage<T>(string messageType, T data);
void RegisterHandler<T>(string messageType, Action<T> action);
}