Add changes
This commit is contained in:
@@ -6,6 +6,8 @@ namespace ReallifeGamemode.Server.Core.API
|
||||
{
|
||||
public struct Color
|
||||
{
|
||||
public static Color White => new Color(255, 255, 255);
|
||||
|
||||
public int R { get; set; }
|
||||
|
||||
public int G { get; set; }
|
||||
|
||||
@@ -15,6 +15,8 @@ namespace ReallifeGamemode.Server.Core.API
|
||||
|
||||
IMarkerAPI Marker { get; }
|
||||
|
||||
ITextLabelAPI TextLabel { get; }
|
||||
|
||||
void DisableDefaultCommandErrorMessages();
|
||||
|
||||
void DisableDefaultSpawnBehavior();
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ReallifeGamemode.Server.Core.API
|
||||
{
|
||||
public interface IColShape : IEntity
|
||||
{
|
||||
delegate void ColShapeEvent(IColShape colShape, IEntity entity);
|
||||
delegate void ColShapeEvent(IColShape colShape, IPlayer entity);
|
||||
|
||||
event ColShapeEvent OnEntityEnter;
|
||||
event ColShapeEvent OnEntityExit;
|
||||
|
||||
11
ReallifeGamemode.Server.Core.API/ITextLabel.cs
Normal file
11
ReallifeGamemode.Server.Core.API/ITextLabel.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace ReallifeGamemode.Server.Core.API
|
||||
{
|
||||
public interface ITextLabel : IEntity
|
||||
{
|
||||
string Text { get; set; }
|
||||
}
|
||||
}
|
||||
12
ReallifeGamemode.Server.Core.API/ITextLabelAPI.cs
Normal file
12
ReallifeGamemode.Server.Core.API/ITextLabelAPI.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 ITextLabelAPI
|
||||
{
|
||||
ITextLabel CreateTextLabel(string text, Position position, float range, float size, Font font, Color color);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user