您不能選擇超過 %s 個話題 話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字
 
 
 

27 行
611 B

  1. using System;
  2. using CIG.Translation;
  3. public class TutorialPopupState : PopupBaseState
  4. {
  5. public void Continue()
  6. {
  7. base.ClosePopup(delegate()
  8. {
  9. Action continueAction = this._continueAction;
  10. this._continueAction = null;
  11. if (continueAction != null)
  12. {
  13. continueAction();
  14. }
  15. });
  16. }
  17. public void UpdateInfo(ILocalizedString bodyText, ILocalizedString buttonText, bool showFlares, Action continueAction)
  18. {
  19. this._continueAction = continueAction;
  20. ((TutorialPopupView)this.View).UpdateInfo(bodyText, buttonText, showFlares);
  21. }
  22. private Action _continueAction;
  23. }