Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.59 kb
from shootblues import Dependency
Dependency("Common.Script.dll")
from shootblues.common import log
from shootblues.common.service import forceStart, forceStop
import blue
import service
class SessionTimerSvc:
__notifyevents__ = [
"OnSessionChanged"
]
def __init__(self):
pass
def OnSessionChanged(self, isRemote, session, change):
log("Session changed, timer suppressed.")
session.nextSessionChange = blue.os.GetTime(1) + 1
def __load__():
forceStart("sessiontimer", SessionTimerSvc)
def __unload__():
forceStop("sessiontimer")
Jump to Line
Something went wrong with that request. Please try again.