void initGuideDate() { SetLoginProgress(1, false); GuildGetInfoFPort prot = FPortManager.Instance.getFPort("GuildGetInfoFPort") as GuildGetInfoFPort; prot.access(InitMining); }
private void intoBack(MessageHandle msg) { GuildGetInfoFPort fport = FPortManager.Instance.getFPort("GuildGetInfoFPort") as GuildGetInfoFPort; fport.access(() => { win.destoryWindow(); GuildManagerment.Instance.openWindow(); }); }
/// <summary> /// 获得公会得分 /// </summary> /// <returns></returns> private int getGuildScore() { GuildGetInfoFPort fport = FPortManager.Instance.getFPort("GuildGetInfoFPort") as GuildGetInfoFPort; fport.access(null); //foreach (GuildAreaPreInfo info in GuildManagerment.Instance.guildFightInfo.areas) //{ // if (info.uid == UserManager.Instance.self.guildId) // score = info.judgeScore; //} return(GuildManagerment.Instance.selfScore); }
/// <summary> /// 更新公会信息,有回调就回调 /// </summary> public void updateGuildInfo(CallBack _callback) { GuildGetInfoFPort fport = FPortManager.Instance.getFPort("GuildGetInfoFPort") as GuildGetInfoFPort; fport.access(() => { if (_callback != null) { _callback(); _callback = null; } }); }
public override void read(ErlKVMessage message) { ErlType type = message.getValue("msg") as ErlType; if (type.getValueString() == "ok") { GuildGetInfoFPort fport = FPortManager.Instance.getFPort("GuildGetInfoFPort") as GuildGetInfoFPort; fport.access(msgBack); } else if (type.getValueString() == "name_repeat") { UiManager.Instance.openDialogWindow <MessageWindow> ((win) => { win.initWindow(1, LanguageConfigManager.Instance.getLanguage("s0093"), null, LanguageConfigManager.Instance.getLanguage("Guild_5"), null); }); } else if (type.getValueString() == "mask_word") { UiManager.Instance.openDialogWindow <MessageWindow> ((win) => { win.initWindow(1, LanguageConfigManager.Instance.getLanguage("s0093"), null, LanguageConfigManager.Instance.getLanguage("Guild_6"), null); }); } else if (type.getValueString() == "mask_word") { UiManager.Instance.openDialogWindow <MessageWindow> ((win) => { win.initWindow(1, LanguageConfigManager.Instance.getLanguage("s0093"), null, LanguageConfigManager.Instance.getLanguage("Guild_1"), null); }); } else if (type.getValueString() == "non_mem") { UiManager.Instance.openDialogWindow <MessageWindow> ((win) => { win.initWindow(1, LanguageConfigManager.Instance.getLanguage("s0093"), null, LanguageConfigManager.Instance.getLanguage("Guild_90"), null); }); } else if (type.getValueString() == "limit") { MessageWindow.ShowAlert(LanguageConfigManager.Instance.getLanguage("Guild_error0")); } }
private void succeedBack(MessageHandle msg) { GuildGetInfoFPort fport = FPortManager.Instance.getFPort("GuildGetInfoFPort") as GuildGetInfoFPort; fport.access(openGuildWindow); }