public static MailQueueItem CreateItemForAccount(MailBox account, MailItemManager manager)
 {
     var item = new MailQueueItem(account);
     item.GetStoredMessagesUidlMd5 += manager.GetStoredMessagesUIDL_MD5;
     item.OnRetrieveNewMessage += manager.OnRetrieveNewMessage;
     item.OnUpdateUidl += manager.OnUpdateUidl;
     item.OnAuthSucceed += manager.OnAuthSucceed;
     item.OnAuthFailed += manager.OnAuthFailed;
     item.OnDone += manager.OnDone;
     item.OnTimeCheckedUpdate += manager.OnCheckedTimeUpdate;
     item.OnGetOrCreateTags += manager.OnGetOrCreateTags;
     item.OnUpdateMessagesTags += manager.OnUpdateMessagesTags;
     return item;
 }
Exemple #2
0
        public static MailQueueItem CreateItemForAccount(MailBox account, MailItemManager manager)
        {
            var item = new MailQueueItem(account);

            item.GetStoredMessagesUidlMd5 += manager.GetStoredMessagesUIDL_MD5;
            item.OnRetrieveNewMessage     += manager.OnRetrieveNewMessage;
            item.OnUpdateUidl             += manager.OnUpdateUidl;
            item.OnAuthSucceed            += manager.OnAuthSucceed;
            item.OnAuthFailed             += manager.OnAuthFailed;
            item.OnDone += manager.OnDone;
            item.OnTimeCheckedUpdate  += manager.OnCheckedTimeUpdate;
            item.OnGetOrCreateTags    += manager.OnGetOrCreateTags;
            item.OnUpdateMessagesTags += manager.OnUpdateMessagesTags;
            return(item);
        }
Exemple #3
0
    public GameApp()
    {
        msInstance = this;

        mEventSystem         = new EventSystem();
        mSceneManager        = new SceneManager();
        mWindowManager       = new WindowManager();
        mDataManager         = new DataManager();
        mResourceManager     = new ResourceManager();
        mToucheManager       = new TouchManager();
        mAIFactory           = new AIFactory();
        mItemManage          = new ItemManager();
        mGMHandler           = new GMHandler();
        mModuleManager       = new ModuleManager();
        mSoundManager        = new SoundManager();
        mDropManager         = new DropManager();
        mConditionManager    = new ConditionManager();
        mStageDataManager    = new StageDataManager();
        mPlayerController    = new PlayerController();
        mBloodUIManager      = new BloodUIManager();
        mBossBloodUIManager  = new BossBloodUIManager();
        mPlayerDataPool      = new PlayerDataPool();
        mYesOrNoMgr          = new YesOrNoBoxManager();
        mUIEffectMgr         = new UIEffectManager();
        mInputSystem         = new InputSystem();
        mStoryManager        = new StoryManager();
        mPromptManager       = new PromptUIManager();
        mPaoPaoManager       = new PaoPaoManager();
        mGuideManager        = new GuideManager();
        mAnimationManager    = new AnimationManager();
        mPlayerHeadUIManager = new PlayerHeadUIManager();
        mUIResourceManager   = new UIResourceManager();
        mAnnounceItemManager = new AnnounceItemManager();
        mPopTipManager       = new PopTipManager();
        mQuackUIManager      = new QuackUIManager();
        mEggManager          = new EggManager();
        mShopManager         = new ShopManager();
        mStrFilterManager    = new StrFilterManager();
        mFightGradeManager   = new FightGradeManager();
        mMailItemManager     = new MailItemManager();
        mSettingManager      = new SettingManager();
        mZhushouManager      = new ZhushouManager();
        mOtherDataPool       = new OtherDataPool();
        mActivityManager     = new ActivityManager();
        mLoadingManager      = new LoadingManager();
        mChargeItemManager   = new ChargeItemManager();
        mChargeMsgManager    = new ChargeMsgManager();
    }
Exemple #4
0
 public MailItemManager()
 {
     instance = this;
 }