MCPcopy Create free account
hub / github.com/Syncplay/syncplay / thisIsPublicServer

Method thisIsPublicServer

syncplay/client.py:815–823  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

813 return self._serverPassword
814
815 def thisIsPublicServer(self):
816 self._publicServers = []
817 if self._publicServers and self._host in self._publicServers:
818 return True
819 i = 0
820 for server in constants.FALLBACK_PUBLIC_SYNCPLAY_SERVERS:
821 if server[1] == self._host:
822 return True
823 i += 1
824
825 def setPosition(self, position):
826 if self._lastPlayerUpdate:

Callers 1

getPasswordMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected