28 lines
666 B
C#
28 lines
666 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RconGUI {
|
|
public class RconScript {
|
|
public string Name { get; set; }
|
|
public string Tag { get; set; }
|
|
public string Description { get; set; }
|
|
public string[] Commands { get; set; }
|
|
|
|
public RconScript() {
|
|
|
|
}
|
|
public RconScript(string name, string command) {
|
|
Name = name;
|
|
Commands = new string[] { command };
|
|
}
|
|
|
|
public RconScript(string name, string[] commands) {
|
|
Name = name;
|
|
Commands = commands;
|
|
}
|
|
}
|
|
}
|