Files
SPT-Server-Build/Libraries/Core/Context/ContextVariable.cs
T
2025-01-19 17:45:48 +00:00

21 lines
419 B
C#

namespace Core.Context;
public class ContextVariable(object value, ContextVariableType contextVariableInternalType)
{
private readonly DateTime _timestamp = DateTime.Now;
public T GetValue<T>() {
return (T)value;
}
public DateTime GetTimestamp()
{
return _timestamp;
}
public ContextVariableType GetContextType()
{
return contextVariableInternalType;
}
}