mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-16 15:22:27 +02:00
RobustToolbox projects should be named Robust.* This PR changes the RobustToolbox projects from SS14.* to Robust.* Updates SS14.* prefixes/namespaces to Robust.* Updates SpaceStation14.sln to RobustToolbox.sln Updates MSBUILD/SS14.* to MSBUILD/Robust.* Updates CSProject and MSBuild references for the above Updates git_helper.py Removes Runserver and Runclient as they are unusable
37 lines
810 B
C#
37 lines
810 B
C#
using System;
|
|
|
|
namespace Robust.Shared.ViewVariables
|
|
{
|
|
/// <summary>
|
|
/// Attribute to make a property or field accessible to VV.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
|
public class ViewVariablesAttribute : Attribute
|
|
{
|
|
public readonly VVAccess Access = VVAccess.ReadOnly;
|
|
|
|
public ViewVariablesAttribute()
|
|
{
|
|
|
|
}
|
|
|
|
public ViewVariablesAttribute(VVAccess access)
|
|
{
|
|
Access = access;
|
|
}
|
|
}
|
|
|
|
public enum VVAccess
|
|
{
|
|
/// <summary>
|
|
/// This property can only be read, not written.
|
|
/// </summary>
|
|
ReadOnly = 0,
|
|
|
|
/// <summary>
|
|
/// This property is read and writable.
|
|
/// </summary>
|
|
ReadWrite,
|
|
}
|
|
}
|