Addition to mod API: Secured client requests.
Hi im need secured requests between server mod and client mod
>> MyAPIGateway.Multiplayer.RegisterMessageHandler(66666, MessageHandler);
>>MessageHandler not have a "sender" field, and clients can ez fake the data...
Im mean if im have on server unsafe method like DeleteGridsOwnedBySteamId(ulong steamId);
Im want to trigger that from client. But clients can fake request data!
In internal game code u have events with sender steamid and u check if sender have admin rights. But modders cant use this events.
Modify or add new MyAPIGateway.Multiplayer.RegisterSecuredMessageHandler(66666,SecuredMessageHandler);
SecuredMessageHandler(ulong SenderSteamId, byte bytes);