Adding player sensing
Deploy Promiscuity Auth API / deploy (push) Successful in 47s
Deploy Promiscuity Character API / deploy (push) Successful in 59s
Deploy Promiscuity Inventory API / deploy (push) Successful in 47s
Deploy Promiscuity Locations API / deploy (push) Successful in 47s
k8s smoke test / test (push) Successful in 9s

This commit is contained in:
2026-03-23 18:39:08 -05:00
parent c596b760cf
commit bca8e3374a
6 changed files with 247 additions and 13 deletions
+4
View File
@@ -24,6 +24,10 @@ func update_character_coord(character_id: String, coord: Vector2i) -> Dictionary
}
})
return await _request(HTTPClient.METHOD_PUT, url, payload)
func heartbeat_character(character_id: String) -> Dictionary:
var url := "%s/%s/heartbeat" % [CHARACTER_API_URL, character_id]
return await _request(HTTPClient.METHOD_POST, url, "")
func _request(method: int, url: String, body: String = "") -> Dictionary:
var request := HTTPRequest.new()