start car shop

This commit is contained in:
hydrant
2018-12-20 22:20:19 +01:00
parent b16ed270c2
commit 9f9d84f383
14 changed files with 144 additions and 70 deletions

View File

@@ -0,0 +1,12 @@
using GTANetworkAPI;
using System;
using System.Collections.Generic;
using System.Text;
namespace reallife_gamemode.Server.Business
{
public abstract class CarDealerBusinessBase : BusinessBase
{
internal abstract Vector3 CarSpawnPositon { get; }
}
}

View File

@@ -5,7 +5,7 @@ using GTANetworkAPI;
namespace reallife_gamemode.Server.Business
{
class ShopBusiness : BusinessBase
public class ShopBusiness : BusinessBase
{
public override int Id => 2;

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Text;
using GTANetworkAPI;
namespace reallife_gamemode.Server.Business
{
public class VapidCarDealerBusiness : CarDealerBusinessBase
{
public override int Id => 3;
public override string Name => "Vapid Autohaus";
public override Vector3 Position => new Vector3(-177, -1156, 23);
internal override Vector3 CarSpawnPositon => new Vector3(-177, -1156, 23);
public override void Load()
{
}
}
}