Begin weaponschein

This commit is contained in:
hydrant
2020-03-09 20:56:51 +01:00
parent baba3e1ae2
commit 6965875406
12 changed files with 156 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace ReallifeGamemode.Server.Core.API
{
public struct Color
{
public int R { get; set; }
public int G { get; set; }
public int B { get; set; }
public Color(int r, int g, int b)
{
R = r;
G = g;
B = b;
}
}
}

View File

@@ -13,6 +13,8 @@ namespace ReallifeGamemode.Server.Core.API
IVehicleAPI Vehicle { get; }
IMarkerAPI Marker { get; }
void DisableDefaultCommandErrorMessages();
void DisableDefaultSpawnBehavior();

View File

@@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace ReallifeGamemode.Server.Core.API
{
public interface IMarker : IEntity
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
using ReallifeGamemode.Server.Types;
namespace ReallifeGamemode.Server.Core.API
{
public interface IMarkerAPI
{
IMarker CreateMarker(MarkerType markerType, Position position, Position direction, Position rotation, float scale, Color color);
}
}