C# Class fCraft.Portals.PortalHandler

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

Méthodes publiques

Méthode Description
CreatePortal ( Portal portal, World source, bool Custom ) : void
GetInstance ( ) : PortalHandler
GetPortal ( Player player ) : Portal
GetPortal ( World world, Vector3I block ) : Portal
IsInRangeOfSpawnpoint ( World world, Vector3I block ) : bool

Private Methods

Méthode Description
Player_JoinedWorld ( object sender, Events e ) : void
Player_Moved ( object sender, Events e ) : void
Player_PlacingBlock ( object sender, Events e ) : void
PortalHandler ( ) : System

Method Details

CreatePortal() public static méthode

public static CreatePortal ( Portal portal, World source, bool Custom ) : void
portal Portal
source World
Custom bool
Résultat void

GetInstance() public static méthode

public static GetInstance ( ) : PortalHandler
Résultat PortalHandler

GetPortal() public méthode

public GetPortal ( Player player ) : Portal
player Player
Résultat Portal

GetPortal() public méthode

public GetPortal ( World world, Vector3I block ) : Portal
world World
block Vector3I
Résultat Portal

IsInRangeOfSpawnpoint() public static méthode

public static IsInRangeOfSpawnpoint ( World world, Vector3I block ) : bool
world World
block Vector3I
Résultat bool