39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
/**
|
|
* @overview Life of German Reallife - Saves SavedBlip.cs
|
|
* @author VegaZ
|
|
* @copyright (c) 2008 - 2018 Life of German
|
|
*/
|
|
|
|
namespace ReallifeGamemode.Server.Entities.Saves
|
|
{
|
|
public class SavedBlip
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
[Required]
|
|
public short Sprite { get; set; }
|
|
[Required]
|
|
public float PositionX { get; set; }
|
|
[Required]
|
|
public float PositionY { get; set; }
|
|
[Required]
|
|
public float PositionZ { get; set; }
|
|
public string Name { get; set; }
|
|
public float Scale { get; set; }
|
|
public byte Color { get; set; }
|
|
public byte Alpha { get; set; }
|
|
public float DrawDistance { get; set; }
|
|
public bool ShortRange { get; set; }
|
|
public float Rotation { get; set; }
|
|
public byte Dimension { get; set; }
|
|
public bool Active { get; set; }
|
|
}
|
|
}
|