37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using GTANetworkAPI;
|
|
|
|
/**
|
|
* @overview Life of German Reallife - Saves SavedVehicle.cs
|
|
* @author VegaZ
|
|
* @copyright (c) 2008 - 2018 Life of German
|
|
*/
|
|
|
|
namespace reallife_gamemode.Server.Saves
|
|
{
|
|
public class SavedVehicle
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
public VehicleHash Model { get; set; }
|
|
public float PositionX { get; set; }
|
|
public float PositionY { get; set; }
|
|
public float PositionZ { get; set; }
|
|
public float Heading { get; set; }
|
|
[StringLength(8)]
|
|
public string NumberPlate { get; set; }
|
|
public byte Alpha { get; set; }
|
|
public byte PrimaryColor { get; set; }
|
|
public byte SecondaryColor { get; set; }
|
|
public bool Locked { get; set; }
|
|
public bool Engine { get; set; }
|
|
public byte Dimension { get; set; }
|
|
public bool Active { get; set; }
|
|
}
|
|
}
|