01cc1d331b
- In progress implementation of services model.
27 lines
545 B
C#
27 lines
545 B
C#
using System;
|
|
using Barotrauma.Networking;
|
|
|
|
namespace Barotrauma.LuaCs.Data;
|
|
|
|
// TODO: Finish
|
|
public partial interface IConfigInfo
|
|
{
|
|
string Name { get; }
|
|
string PackageName { get; }
|
|
ConfigDataType Type { get; }
|
|
string DefaultValue { get; }
|
|
ClientPermissions RequiredPermissions { get; }
|
|
}
|
|
|
|
public enum ConfigDataType
|
|
{
|
|
Boolean, Int32, Int64, Single, Double, String,
|
|
Color, Vector2, Vector3, List,
|
|
RangeInt32, RangeSingle, ControlInput
|
|
}
|
|
|
|
public enum NetSync
|
|
{
|
|
None, TwoWay, ServerAuthority, ClientOneWay
|
|
}
|