Add migration

This commit is contained in:
VegaZ
2019-04-02 20:51:50 +02:00
parent fb3432f1f4
commit 03b12aa004
4 changed files with 1050 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
//GELD AUSZAHLEN in1 //GELD AUSZAHLEN in1
case 1: case 1:
//mp.events.call("CLIENT:CHECK_ATM_BALANCE", inputField1);
mp.events.call("SERVER:SET_HANDMONEY", inputField1); //GEHT NACH HANDMONEY.TS mp.events.call("SERVER:SET_HANDMONEY", inputField1); //GEHT NACH HANDMONEY.TS
mp.events.callRemote("CLIENT:ATM_ACTION", site, inputField1, inputField2) mp.events.callRemote("CLIENT:ATM_ACTION", site, inputField1, inputField2)
break; break;

View File

@@ -85,7 +85,11 @@ namespace ReallifeGamemode.Server.Managers
{ {
player.TriggerEvent("SERVER:ShowAtmUi", atmId); player.TriggerEvent("SERVER:ShowAtmUi", atmId);
} }
[RemoteEvent("CLIENT:CHECK_ATM_BALANCE")]
public void CheckATMBalance(Client client, int site, int inputField1, int inputField2)
{
}
[RemoteEvent("CLIENT:ATM_ACTION")] [RemoteEvent("CLIENT:ATM_ACTION")]
public void AtmAction(Client client, int site, int inputField1, int inputField2) public void AtmAction(Client client, int site, int inputField1, int inputField2)
{ {

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,17 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace ReallifeGamemode.Migrations
{
public partial class Handmoney : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}