first commit
This commit is contained in:
20
NitroxModel/Packets/ServerCommand.cs
Normal file
20
NitroxModel/Packets/ServerCommand.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace NitroxModel.Packets
|
||||
{
|
||||
[Serializable]
|
||||
public class ServerCommand : Packet
|
||||
{
|
||||
public string Cmd { get; }
|
||||
|
||||
public ServerCommand(string cmd)
|
||||
{
|
||||
Cmd = cmd;
|
||||
}
|
||||
|
||||
public ServerCommand(string[] cmdArgs)
|
||||
{
|
||||
Cmd = string.Join(" ", cmdArgs);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user