Esempio n. 1
0
 public static PokemonAdditionalInfo RivalAbilityNotify(OnboardPokemon pm)
 {
     PokemonAdditionalInfo info = new PokemonAdditionalInfo();
       info.Id = pm.Id;
       info.Ability = pm.Ability;
       info.receiversId = new int[0];
       return info;
 }
Esempio n. 2
0
 public static PokemonAdditionalInfo OwnerMovesNotify(OnboardPokemon pm)
 {
     PokemonAdditionalInfo info = new PokemonAdditionalInfo();
       info.Id = pm.Id;
       info.MoveIds = new int[4];
       for (int i = 0; i < 4; i++)
     if (pm.Moves[i] != null) info.MoveIds[i] = pm.Moves[i].Id;
       info.receiversId = new int[] { pm.Owner.Id };
       return info;
 }
Esempio n. 3
0
File: Host.cs Progetto: sunoru/PBO
 void InformAdditionalInfo(PokemonAdditionalInfo info)
 {
   OnSendInformation(new PmAddionalInfo(info), info.GetReceiversId());
 }
Esempio n. 4
0
 /// <summary>
 /// 注意和Update(Turn)的顺序
 /// </summary>
 /// <param name="info"></param>
 public void Update(PokemonAdditionalInfo info)
 {
 }
Esempio n. 5
0
File: User.cs Progetto: sunoru/PBO
 void IGameInformer.InformPmAdditional(PokemonAdditionalInfo pminfo)
 {
   InformPmAdditional(pminfo);
 }
Esempio n. 6
0
File: User.cs Progetto: sunoru/PBO
 protected abstract void InformPmAdditional(PokemonAdditionalInfo pminfo);
Esempio n. 7
0
 public PmAddionalInfo(PokemonAdditionalInfo pmInfo)
 {
     PmInfo = pmInfo;
 }