Exemplo n.º 1
0
 static ContactMgr()
 {
     EventCenter.registerEventHandler(EventConst.ON_ACCOUNT_LOGIN, new EventHandlerDelegate(ContactMgr.onLogin));
     EventCenter.registerEventHandler(EventConst.ON_NETSCENE_BATCH_GET_CONTACT_SUCCESS, new EventHandlerDelegate(ContactMgr.onContactRefresh));
 }
Exemplo n.º 2
0
 public static void initialize()
 {
     EventCenter.registerEventHandler(EventConst.ON_ACCOUNT_LOGIN, new EventHandlerDelegate(ExtentCenter.onAccountLoginProc));
     //ÅóÓÑȦ
     // NetSceneSnsSync.Init();
 }
Exemplo n.º 3
0
 public static void init()
 {
     AccountMgr.registerLoginNotify(new onAccountLoginCallback(SnsAsyncMgr.onLogin));
     EventCenter.registerEventHandler(EventConst.ON_NETSCENE_SYNC, new EventHandlerDelegate(SnsAsyncMgr.onSyncEnd));
 }