Tracking character movement
This commit is contained in:
@@ -21,6 +21,16 @@ Inbound JSON documents
|
||||
}
|
||||
```
|
||||
`coord` cannot be updated.
|
||||
- UpdateLocationPresenceRequest (`POST /api/locations/presence`)
|
||||
```json
|
||||
{
|
||||
"characterId": "string",
|
||||
"coord": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Stored documents (MongoDB)
|
||||
- Location
|
||||
@@ -32,6 +42,7 @@ Stored documents (MongoDB)
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"characterIds": ["string"],
|
||||
"createdUtc": "string (ISO-8601 datetime)"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user