for exemple in TeleportCommand i have this code:
Code:
namespace OpenNos.GameObject.CommandPackets
{
[PacketHeader("$Teleport", "$Tp", "$TP" , PassNonParseablePacket = true, Authority = AuthorityType.GameMaster)]
public class TeleportPacket : PacketDefinition
{
#region Properties
[PacketIndex(0)]
public string Data { get; set; }
[PacketIndex(1)]
public short X { get; set; }
[PacketIndex(2)]
public short Y { get; set; }
public static string ReturnHelp()
{
return "$Teleport CHARACTERNAME/MAP X(?) Y(?)";
}
#endregion
}
}






