コード例 #1
0
ファイル: MainForm.cs プロジェクト: Xileck/tibiaapi
 private void uxProxySendClientTest_Click(object sender, EventArgs e)
 {
     AnimatedTextPacket p = new AnimatedTextPacket(client);
     p.Message = "Testing";
     p.Location = client.PlayerLocation;
     p.Color = TextColor.Platinum;
     MarkButton((Button)sender, p.Send(Packet.SendMethod.Proxy));
 }
コード例 #2
0
ファイル: AnimatedTextPacket.cs プロジェクト: Xileck/tibiaapi
 public static bool Send(Objects.Client client, string message, Objects.Location position, TextColor color)
 {
     AnimatedTextPacket p = new AnimatedTextPacket(client);
     p.Message = message;
     p.Location = position;
     p.Color = color;
     return p.Send();
 }
コード例 #3
0
        public static bool Send(Objects.Client client, string message, Objects.Location position, TextColor color)
        {
            AnimatedTextPacket p = new AnimatedTextPacket(client);

            p.Message  = message;
            p.Location = position;
            p.Color    = color;
            return(p.Send());
        }