A class in Root.Township, Alta.Map.
Client copy of the map markers the server has told this player about. Reach it through LandmarkManager.Instance.ClientLandmarkManager.
Constructors
Fields
6 private and internal fields
| Member | What it is |
|---|
private LandmarkIcon icon | Icon of the marker being read. |
private uint index | Index of the marker being read. |
private bool isMasked | Mask flag of the marker being read. |
private Map map | Map of the marker being read. |
private Dictionary<uint, MarkerInfo> markers | Known markers by index. |
private Vector2 position | Position of the marker being read. |
Properties
| Member | What it is |
|---|
IEnumerable<MarkerInfo> Markers { get; } | All markers this player knows about. |
Events
Methods
| Member | What it is |
|---|
void ChangeSync(IPlayer player, Stream stream) | Client: reads one marker change from the server. |
void InitialSync(IPlayer player, Stream stream) | Client: reads the full marker list sent when the player joins. |
1 private and internal method
| Member | What it is |
|---|
private void ApplySync() | Adds, updates or (when the icon is null) removes the marker just read, then raises Changed. |
Used in
Members of other types that take, return or hold a ClientLandmarkManager: