C# Class MCDawn.CmdCone

Inheritance: MCDawn.Command
显示文件 Open project: jonnyli1125/MCDawn

Public Methods

Method Description
CreateCone ( Player p, byte type, ConeType coneType, ushort radius, ushort verticalExpansion ) : void
Distance ( double x1, double y1, double z1, double x2, double y2, double z2 ) : double
Execute ( Player p, List buffer, byte type ) : void
Help ( Player p ) : void
Use ( Player p, string message ) : void

Method Details

CreateCone() public method

public CreateCone ( Player p, byte type, ConeType coneType, ushort radius, ushort verticalExpansion ) : void
p Player
type byte
coneType ConeType
radius ushort
verticalExpansion ushort
return void

Distance() public method

public Distance ( double x1, double y1, double z1, double x2, double y2, double z2 ) : double
x1 double
y1 double
z1 double
x2 double
y2 double
z2 double
return double

Execute() public method

public Execute ( Player p, List buffer, byte type ) : void
p Player
buffer List
type byte
return void

Help() public method

public Help ( Player p ) : void
p Player
return void

Use() public method

public Use ( Player p, string message ) : void
p Player
message string
return void