Kill switch
Deploy Promiscuity Auth API / deploy (push) Successful in 47s
Deploy Promiscuity Crafting API / deploy (push) Has been cancelled
Deploy Promiscuity Inventory API / deploy (push) Has been cancelled
Deploy Promiscuity Locations API / deploy (push) Has been cancelled
Deploy Promiscuity Mail API / deploy (push) Has been cancelled
Deploy Promiscuity World API / deploy (push) Has been cancelled
Deploy Promiscuity Character API / deploy (push) Has been cancelled
k8s smoke test / test (push) Has been cancelled

This commit is contained in:
Zeeshaun
2026-04-01 20:22:05 +00:00
parent bed8e91bc0
commit c718fb343d
14 changed files with 413 additions and 15 deletions
@@ -49,6 +49,15 @@ public class CharacterStore
return result.ModifiedCount > 0 || result.MatchedCount > 0;
}
public async Task<int> ResetAllCoordsAsync(Coord coord)
{
var update = Builders<Character>.Update
.Set(c => c.Coord, coord)
.Set(c => c.LastSeenUtc, DateTime.UtcNow);
var result = await _col.UpdateManyAsync(Builders<Character>.Filter.Empty, update);
return (int)result.MatchedCount;
}
public async Task<List<VisibleCharacter>> GetVisibleOthersAsync(string characterId, int x, int y, int radius, DateTime onlineSinceUtc)
{
var characters = await _col.Find(c =>