Esempio n. 1
0
 public void ShowItemToOtherPlayer(Character activeCharacter)
 {
     if (activeCharacter == FisrtChar && !FirstCharShowItems)
     {
         FirstCharShowItems = true;
         Asda2TradeHandler.SendConfimTradeFromOponentResponse(SecondChar.Client, FirstCharacterItems);
     }
     else if (activeCharacter == SecondChar && !SecondCharShowItems)
     {
         SecondCharShowItems = true;
         Asda2TradeHandler.SendConfimTradeFromOponentResponse(FisrtChar.Client, SecondCharacterItems);
     }
 }
Esempio n. 2
0
 public void ShowItemToOtherPlayer(Character activeCharacter)
 {
     if (activeCharacter == this.FisrtChar && !this.FirstCharShowItems)
     {
         this.FirstCharShowItems = true;
         Asda2TradeHandler.SendConfimTradeFromOponentResponse(this.SecondChar.Client, this.FirstCharacterItems);
     }
     else
     {
         if (activeCharacter != this.SecondChar || this.SecondCharShowItems)
         {
             return;
         }
         this.SecondCharShowItems = true;
         Asda2TradeHandler.SendConfimTradeFromOponentResponse(this.FisrtChar.Client, this.SecondCharacterItems);
     }
 }