OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
Loading...
Searching...
No Matches
hostile_server_test.ClientRun Class Reference

Public Member Functions

 __init__ (self, srv, strings, case)
 time (self)
 commands (self, text)
 tick (self)

Public Attributes

 srv
 base = srv, strings
 case = case
int server_time = 10000
 started = time.monotonic()
 http_port = None
int sequence = 0

Constructor & Destructor Documentation

◆ __init__()

hostile_server_test.ClientRun.__init__ ( self,
srv,
strings,
case )

Member Function Documentation

◆ commands()

hostile_server_test.ClientRun.commands ( self,
text )

◆ tick()

hostile_server_test.ClientRun.tick ( self)
Keeps a snapshot going, for the client's timeouts.

◆ time()

hostile_server_test.ClientRun.time ( self)
The clock of a server: it does not depend on when a snapshot leaves.

Member Data Documentation

◆ base

hostile_server_test.ClientRun.base = srv, strings

◆ case

hostile_server_test.ClientRun.case = case

◆ http_port

hostile_server_test.ClientRun.http_port = None

◆ sequence

hostile_server_test.ClientRun.sequence = 0

◆ server_time

int hostile_server_test.ClientRun.server_time = 10000

◆ srv

hostile_server_test.ClientRun.srv

◆ started

hostile_server_test.ClientRun.started = time.monotonic()

The documentation for this class was generated from the following file: