def initialize(): variable_table.initialize() proxy.initialize() if playing.playing.initialize() == False: return False timer_test.initialize() return True
def test_initialize(): variable_table.initialize() #__main__.CC_COMMUNICATOR_PROXY.follow(ccevent.ttypes.EventType.EVENT_ACTOR_LOGIN, 0, ccevent.ttypes.ChannelType.CHANNEL_ACTOR, "test_on_actor_login") communicator_proxy = variable_table.get_variable( ccvariable.ttypes.Variable.COMMUNICATOR_PROXY) communicator_proxy.follow(ccevent.ttypes.EventType.EVENT_ACTOR_LOGIN, 0, ccevent.ttypes.ChannelType.CHANNEL_ACTOR, "test_on_actor_login")
def test_initialize(): variable_table.initialize(); #__main__.CC_COMMUNICATOR_PROXY.follow(ccevent.ttypes.EventType.EVENT_ACTOR_LOGIN, 0, ccevent.ttypes.ChannelType.CHANNEL_ACTOR, "test_on_actor_login") communicator_proxy = variable_table.get_variable(ccvariable.ttypes.Variable.COMMUNICATOR_PROXY) communicator_proxy.follow(ccevent.ttypes.EventType.EVENT_ACTOR_LOGIN, 0, ccevent.ttypes.ChannelType.CHANNEL_ACTOR, "test_on_actor_login")