本文整理汇总了C#中BlueSheep.Interface.AccountUC.ActualizeFamis方法的典型用法代码示例。如果您正苦于以下问题:C# AccountUC.ActualizeFamis方法的具体用法?C# AccountUC.ActualizeFamis怎么用?C# AccountUC.ActualizeFamis使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BlueSheep.Interface.AccountUC
的用法示例。
在下文中一共展示了AccountUC.ActualizeFamis方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: BasicNoOperationMessageTreatment
public static void BasicNoOperationMessageTreatment(Message message, byte[] packetDatas, AccountUC account)
{
//MainForm.ActualMainForm.ActualizeAccountInformations();
if (account.checkBoxBegin.Checked)
account.ActualizeFamis();
Thread.Sleep(GetRandomTime());
if (account.LastPacketID.Count == 0)
return;
//switch ((uint)account.LastPacketID.Dequeue())
switch ((uint)account.LastPacket)
{
case InteractiveUseRequestMessage.ID:
if (account.Running != null && account.Running.OnSafe)
{
account.Log(new CharacterTextInformation("Ouverture du coffre."), 2);
account.Running.Init();
}
return;
case ExchangeObjectMoveMessage.ID:
if (account.Running.OnLeaving)
{
account.Running.OnLeaving = false;
account.Log(new ActionTextInformation("Dépôt d'un objet dans le coffre."), 3);
account.Running.Init();
}
else if (account.Running.OnGetting)
{
account.Running.OnGetting = false;
account.Log(new ActionTextInformation("Récupération d'un objet du coffre."), 3);
account.Running.Init();
}
return;
case ObjectFeedMessage.ID:
if (account.Running != null && !account.Running.Feeding.SecondFeeding)
account.Running.CheckStatisticsUp();
else if (account.Running != null)
{
account.Running.CurrentPetIndex++;
account.Running.Init();
}
return;
case LeaveDialogRequestMessage.ID:
account.Log(new ActionTextInformation("Fermeture du coffre."), 3);
if (account.Running != null)
account.Running.Init();
return;
//case GameMapMovementRequestMessage.ID:
// return;
//case GameMapMovementConfirmMessage.ID:
// account.Fight.LaunchFight(account.Fight.flag);
// return;
default:
return;
}
}