コード例 #1
0
ファイル: PlasmaKITypes.py プロジェクト: veo-ortega/Plasma
def PtUpdateCGZStartTime(time=None):
    chron = PtFindCreateMarkerChronicle("CGZ-StartTime")
    if time is None:
        import Plasma
        time = Plasma.PtGetServerTime()
    chron.setValue(str(time))
    chron.save()
コード例 #2
0
ファイル: PlasmaKITypes.py プロジェクト: veo-ortega/Plasma
def PtGetTimePlayingCGZ():
    import Plasma
    return Plasma.PtGetServerTime() - PtGetCGZStartTime()