C# Class fCraft.MessageBlock

Show file Open project: GlennMR/800craft Class Usage Examples

Public Methods

Method Description
CalculateRange ( MessageBlock MessageBlock ) : MessageBlockRange
Deserialize ( string name, string sdata, Map map ) : MessageBlock
DoesNameExist ( World world, String name ) : bool
GenerateName ( World world ) : String
GetMessage ( ) : String
IsInRange ( Player player ) : bool
IsInRange ( Vector3I vector ) : bool
MessageBlock ( ) : System
MessageBlock ( String world, Vector3I affectedBlock, String Name, String Creator, String Message ) : System
Remove ( Player requester ) : void
Serialize ( ) : string

Method Details

CalculateRange() public static method

public static CalculateRange ( MessageBlock MessageBlock ) : MessageBlockRange
MessageBlock MessageBlock
return MessageBlockRange

Deserialize() public static method

public static Deserialize ( string name, string sdata, Map map ) : MessageBlock
name string
sdata string
map Map
return MessageBlock

DoesNameExist() public static method

public static DoesNameExist ( World world, String name ) : bool
world World
name String
return bool

GenerateName() public static method

public static GenerateName ( World world ) : String
world World
return String

GetMessage() public method

public GetMessage ( ) : String
return String

IsInRange() public method

public IsInRange ( Player player ) : bool
player Player
return bool

IsInRange() public method

public IsInRange ( Vector3I vector ) : bool
vector Vector3I
return bool

MessageBlock() public method

public MessageBlock ( ) : System
return System

MessageBlock() public method

public MessageBlock ( String world, Vector3I affectedBlock, String Name, String Creator, String Message ) : System
world String
affectedBlock Vector3I
Name String
Creator String
Message String
return System

Remove() public method

public Remove ( Player requester ) : void
requester Player
return void

Serialize() public method

public Serialize ( ) : string
return string