Fix namespace problem for `PeerTypes` and `FileTypes` enums.
Signed-off-by: Aliwoto <aminnimaj@gmail.com>
This commit is contained in:
parent
60c342ddbf
commit
40b4968a18
|
@ -16,38 +16,41 @@
|
|||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/// <summary>
|
||||
/// File types indicate the content type of the file, if the server is
|
||||
/// unable to determine the file type then it will default to DOCUMENT.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
public enum FileTypes
|
||||
namespace Socialvoid.SvObjects
|
||||
{
|
||||
//-------------------------------------------------
|
||||
#region general types
|
||||
/// <summary>
|
||||
/// The default value of an <see cref="FileTypes"/>.
|
||||
/// File types indicate the content type of the file, if the server is
|
||||
/// unable to determine the file type then it will default to DOCUMENT.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Document = 0,
|
||||
#endregion
|
||||
//-------------------------------------------------
|
||||
#region Another styling
|
||||
/// <summary>
|
||||
/// The file is an image file type.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Photo = 1,
|
||||
/// <summary>
|
||||
/// The file is an video file type.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Video = 2,
|
||||
/// <summary>
|
||||
/// The file is an audio file type.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Audio = 3,
|
||||
#endregion
|
||||
//-------------------------------------------------
|
||||
}
|
||||
public enum FileTypes
|
||||
{
|
||||
//-------------------------------------------------
|
||||
#region general types
|
||||
/// <summary>
|
||||
/// The default value of an <see cref="FileTypes"/>.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Document = 0,
|
||||
#endregion
|
||||
//-------------------------------------------------
|
||||
#region Another styling
|
||||
/// <summary>
|
||||
/// The file is an image file type.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Photo = 1,
|
||||
/// <summary>
|
||||
/// The file is an video file type.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Video = 2,
|
||||
/// <summary>
|
||||
/// The file is an audio file type.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Audio = 3,
|
||||
#endregion
|
||||
//-------------------------------------------------
|
||||
}
|
||||
}
|
|
@ -16,42 +16,45 @@
|
|||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/// <summary>
|
||||
/// Peer Types indicates the account type that's registered to the server,
|
||||
/// some actions may be restricted depending on the peer type.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
public enum PeerTypes
|
||||
namespace Socialvoid.SvObjects
|
||||
{
|
||||
//-------------------------------------------------
|
||||
#region general types
|
||||
/// <summary>
|
||||
/// The default value of an <see cref="PeerTypes"/>, which means
|
||||
/// the peer type is undefined (or is unsupported by this version of
|
||||
/// library).
|
||||
/// In the case where our client received this type, we should show user
|
||||
/// the "please update your client" message.
|
||||
/// Peer Types indicates the account type that's registered to the server,
|
||||
/// some actions may be restricted depending on the peer type.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
None = 0,
|
||||
#endregion
|
||||
//-------------------------------------------------
|
||||
#region Another styling
|
||||
/// <summary>
|
||||
/// Normal user account.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
User = 1,
|
||||
/// <summary>
|
||||
/// A bot account that performs automated actions on the network.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Bot = 2,
|
||||
/// <summary>
|
||||
/// A proxy account that mirrors content from another platform.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Proxy = 3,
|
||||
#endregion
|
||||
//-------------------------------------------------
|
||||
public enum PeerTypes
|
||||
{
|
||||
//-------------------------------------------------
|
||||
#region general types
|
||||
/// <summary>
|
||||
/// The default value of an <see cref="PeerTypes"/>, which means
|
||||
/// the peer type is undefined (or is unsupported by this version of
|
||||
/// library).
|
||||
/// In the case where our client received this type, we should show user
|
||||
/// the "please update your client" message.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
None = 0,
|
||||
#endregion
|
||||
//-------------------------------------------------
|
||||
#region Another styling
|
||||
/// <summary>
|
||||
/// Normal user account.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
User = 1,
|
||||
/// <summary>
|
||||
/// A bot account that performs automated actions on the network.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Bot = 2,
|
||||
/// <summary>
|
||||
/// A proxy account that mirrors content from another platform.
|
||||
/// <code> Since: v0.0.0 </code>
|
||||
/// </summary>
|
||||
Proxy = 3,
|
||||
#endregion
|
||||
//-------------------------------------------------
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue