-
Notifications
You must be signed in to change notification settings - Fork 78
/
Map.cs
38 lines (33 loc) · 926 Bytes
/
Map.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using System.Collections.Generic;
using GTA;
using GTA.Math;
namespace MapEditor
{
public class Map
{
public List<MapObject> Objects = new List<MapObject>();
public List<MapObject> RemoveFromWorld = new List<MapObject>();
public List<Marker> Markers = new List<Marker>();
public MapMetadata Metadata;
}
public class MapMetadata
{
public MapMetadata()
{
Creator = Game.Player.Name;
Name = "Nameless Map";
Description = "";
}
public string Creator { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Filename { get; set; }
public Vector3? LoadingPoint { get; set; }
public Vector3? TeleportPoint { get; set; }
public bool ShouldSerializeFilename()
{
return false;
}
}
}