C# Class fCraft.Portals.Portal

Afficher le fichier Open project: GlennMR/800craft Class Usage Examples

Méthodes publiques

Свойство Type Description
HasDesiredOutput bool

Méthodes publiques

Méthode Description
CalculateRange ( Portal portal ) : PortalRange
Deserialize ( string name, string sdata, Map map ) : Portal
DoesNameExist ( World world, String name ) : bool
GenerateName ( string World, bool Custom ) : String
IsInRange ( Player player ) : bool
IsInRange ( Vector3I vector ) : bool
Portal ( ) : System
Portal ( String world, Vector3I affectedBlocks, String Name, String Creator, String Place, bool CustomOutput ) : System
Remove ( Player requester ) : void
Serialize ( ) : string

Method Details

CalculateRange() public static méthode

public static CalculateRange ( Portal portal ) : PortalRange
portal Portal
Résultat PortalRange

Deserialize() public static méthode

public static Deserialize ( string name, string sdata, Map map ) : Portal
name string
sdata string
map Map
Résultat Portal

DoesNameExist() public static méthode

public static DoesNameExist ( World world, String name ) : bool
world World
name String
Résultat bool

GenerateName() public static méthode

public static GenerateName ( string World, bool Custom ) : String
World string
Custom bool
Résultat String

IsInRange() public méthode

public IsInRange ( Player player ) : bool
player Player
Résultat bool

IsInRange() public méthode

public IsInRange ( Vector3I vector ) : bool
vector Vector3I
Résultat bool

Portal() public méthode

public Portal ( ) : System
Résultat System

Portal() public méthode

public Portal ( String world, Vector3I affectedBlocks, String Name, String Creator, String Place, bool CustomOutput ) : System
world String
affectedBlocks Vector3I
Name String
Creator String
Place String
CustomOutput bool
Résultat System

Remove() public méthode

public Remove ( Player requester ) : void
requester Player
Résultat void

Serialize() public méthode

public Serialize ( ) : string
Résultat string

Property Details

HasDesiredOutput public_oe property

public bool HasDesiredOutput
Résultat bool