Exemple #1
0
 public static void SendDonateUnion(long amount)
 {
     if (Main.netMode == 1)
     {
         ModPacket p = ServerSideCharacter2.Instance.GetPacket();
         p.Write((int)SSCMessageType.UnionDonate);
         p.Write(RSACrypto.EncryptWithTag(amount.ToString(), "ddl"));
         p.Send();
     }
 }