Begin weaponschein
This commit is contained in:
22
ReallifeGamemode.Server.Core.API/Color.cs
Normal file
22
ReallifeGamemode.Server.Core.API/Color.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,8 @@ namespace ReallifeGamemode.Server.Core.API
|
||||
|
||||
IVehicleAPI Vehicle { get; }
|
||||
|
||||
IMarkerAPI Marker { get; }
|
||||
|
||||
void DisableDefaultCommandErrorMessages();
|
||||
|
||||
void DisableDefaultSpawnBehavior();
|
||||
|
||||
11
ReallifeGamemode.Server.Core.API/IMarker.cs
Normal file
11
ReallifeGamemode.Server.Core.API/IMarker.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace ReallifeGamemode.Server.Core.API
|
||||
{
|
||||
public interface IMarker : IEntity
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
12
ReallifeGamemode.Server.Core.API/IMarkerAPI.cs
Normal file
12
ReallifeGamemode.Server.Core.API/IMarkerAPI.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user