mirror of
https://github.com/quasar/Quasar.git
synced 2026-10-25 18:09:48 +08:00
25 lines
465 B
C#
25 lines
465 B
C#
using System;
|
|
using xClient.Core.Networking;
|
|
|
|
namespace xClient.Core.Packets.ServerPackets
|
|
{
|
|
[Serializable]
|
|
public class DoShellExecute : IPacket
|
|
{
|
|
public string Command { get; set; }
|
|
|
|
public DoShellExecute()
|
|
{
|
|
}
|
|
|
|
public DoShellExecute(string command)
|
|
{
|
|
this.Command = command;
|
|
}
|
|
|
|
public void Execute(Client client)
|
|
{
|
|
client.Send(this);
|
|
}
|
|
}
|
|
} |