01cc1d331b
- In progress implementation of services model.
22 lines
478 B
C#
22 lines
478 B
C#
using System;
|
|
using Barotrauma.Networking;
|
|
|
|
namespace Barotrauma.LuaCs.Configuration;
|
|
|
|
public partial interface IConfigBase : IVarId
|
|
{
|
|
bool IsInitialized { get; }
|
|
string GetValue();
|
|
bool TrySetValue(string value);
|
|
bool IsAssignable(string value);
|
|
Type GetValueType();
|
|
void Initialize(IVarId id, string defaultValue);
|
|
}
|
|
|
|
public interface IVarId
|
|
{
|
|
Guid InstanceId { get; }
|
|
string InternalName { get; }
|
|
ContentPackage OwnerPackage { get; }
|
|
}
|