RAGE Multiplayer 1.1.0-DP Update

/freeze was obselete and removed
/unfreeze was obselete and removed
/spectate was obselete and removed
This commit is contained in:
Siga
2020-02-24 21:18:54 +01:00
parent 0d5731fb11
commit edf06f4478
85 changed files with 804 additions and 643 deletions

View File

@@ -11,7 +11,7 @@ namespace ReallifeGamemode.Server.Events
public class UpdateCharacterCloth : Script
{
[RemoteEvent("updateDutyProp")]
public void UpdateDutyProp(Client player, int componentId, int componentVariation)
public void UpdateDutyProp(Player player, int componentId, int componentVariation)
{
if (componentId != -1)
{
@@ -26,7 +26,7 @@ namespace ReallifeGamemode.Server.Events
}
[RemoteEvent("updateDutyCloth")]
public void UpdateDutyCloth(Client player, int componentId, int componentVariation)
public void UpdateDutyCloth(Player player, int componentId, int componentVariation)
{
if (componentId == 11)
{
@@ -51,7 +51,7 @@ namespace ReallifeGamemode.Server.Events
}
[RemoteEvent("saveCharacterCloth")]
public void SaveDutyCloth(Client client, string JSlotType, string JSlotId, string JClothId)
public void SaveDutyCloth(Player client, string JSlotType, string JSlotId, string JClothId)
{
using (var context = new DatabaseContext())
{
@@ -126,7 +126,7 @@ namespace ReallifeGamemode.Server.Events
}
[RemoteEvent("defaultCharacterCloth")]
public static void LoadCharacterDefaults(Client player)
public static void LoadCharacterDefaults(Player player)
{
User user = player.GetUser();
using (var context = new DatabaseContext())
@@ -153,7 +153,7 @@ namespace ReallifeGamemode.Server.Events
}
[RemoteEvent("SERVER:BuyCharacterClothes")]
public void RmtEvent_BuyClothes(Client client, string type, string jsonData)
public void RmtEvent_BuyClothes(Player client, string type, string jsonData)
{
/*
* [0] ComponentID