Begin script abstraction
This commit is contained in:
28
ReallifeGamemode.Server.Core.API/IAPI.cs
Normal file
28
ReallifeGamemode.Server.Core.API/IAPI.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using ReallifeGamemode.Server.Core.API.API;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ReallifeGamemode.Server.Core.API
|
||||
{
|
||||
public interface IAPI
|
||||
{
|
||||
IColShapeAPI ColShape { get; }
|
||||
|
||||
IVehicleAPI Vehicle { get; }
|
||||
|
||||
void DisableDefaultCommandErrorMessages();
|
||||
|
||||
void DisableDefaultSpawnBehavior();
|
||||
|
||||
IPlayer GetPlayerFromNameOrId(string nameOrId);
|
||||
|
||||
void SetGlobalChatEnabled(bool enable);
|
||||
|
||||
void SetTime(int hour, int minute, int second);
|
||||
|
||||
void TriggerClientEventForAll(string eventName, params object[] args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user