Пример #1
0
def initialize():
    variable_table.initialize()
    proxy.initialize()
    if playing.playing.initialize() == False:
        return False
    timer_test.initialize()
    return True
Пример #2
0
def initialize():
    variable_table.initialize()
    proxy.initialize()
    if playing.playing.initialize() == False:
        return False
    timer_test.initialize()
    return True
Пример #3
0
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")
Пример #4
0
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")