C# Class CEngineSharp_Server.World.Maps.Map

Afficher le fichier Open project: JohnLamontagne/CEngineSharp Class Usage Examples

Méthodes publiques

Méthode Description
AddPlayer ( Player player ) : void
DespawnMapNpc ( MapNpc mapNpc ) : void
DespawnMapNpc ( int mapNpcIndex ) : void
GetMapData ( ) : NetBuffer
GetMapItem ( Vector mapItemPos ) : MapItem
GetMapItems ( ) : CEngineSharp_Server.World.Maps.MapItem[]
GetMapNpc ( int mapNpcIndex ) : MapNpc
GetMapNpcs ( ) : CEngineSharp_Server.World.Entities.MapNpc[]
GetPlayer ( int playerIndex ) : Player
GetPlayers ( ) : CEngineSharp_Server.World.Entities.Player[]
GetTile ( Vector position ) : Tile
GetTile ( int x, int y ) : Tile
Map ( ) : System
RemoveMapItem ( MapItem mapItem ) : void
RemovePlayer ( Player player, bool leftGame ) : void
ResizeMap ( int newWidth, int newHeight ) : void
SendPacket ( Packet packet, NetDeliveryMethod method, ChannelTypes type, bool checkPlayerLoaded = false ) : void
SetTile ( Vector position, Tile tile ) : void
SetTile ( int x, int y, Tile tile ) : void
SpawnItem ( System.Item item, Vector position, int spawnTime ) : void
SpawnMapNpc ( Npc npc, Vector position ) : void

Method Details

AddPlayer() public méthode

public AddPlayer ( Player player ) : void
player CEngineSharp_Server.World.Entities.Player
Résultat void

DespawnMapNpc() public méthode

public DespawnMapNpc ( MapNpc mapNpc ) : void
mapNpc CEngineSharp_Server.World.Entities.MapNpc
Résultat void

DespawnMapNpc() public méthode

public DespawnMapNpc ( int mapNpcIndex ) : void
mapNpcIndex int
Résultat void

GetMapData() public méthode

public GetMapData ( ) : NetBuffer
Résultat Lidgren.Network.NetBuffer

GetMapItem() public méthode

public GetMapItem ( Vector mapItemPos ) : MapItem
mapItemPos CEngineSharp_Utilities.Vector
Résultat MapItem

GetMapItems() public méthode

public GetMapItems ( ) : CEngineSharp_Server.World.Maps.MapItem[]
Résultat CEngineSharp_Server.World.Maps.MapItem[]

GetMapNpc() public méthode

public GetMapNpc ( int mapNpcIndex ) : MapNpc
mapNpcIndex int
Résultat CEngineSharp_Server.World.Entities.MapNpc

GetMapNpcs() public méthode

public GetMapNpcs ( ) : CEngineSharp_Server.World.Entities.MapNpc[]
Résultat CEngineSharp_Server.World.Entities.MapNpc[]

GetPlayer() public méthode

public GetPlayer ( int playerIndex ) : Player
playerIndex int
Résultat CEngineSharp_Server.World.Entities.Player

GetPlayers() public méthode

public GetPlayers ( ) : CEngineSharp_Server.World.Entities.Player[]
Résultat CEngineSharp_Server.World.Entities.Player[]

GetTile() public méthode

public GetTile ( Vector position ) : Tile
position CEngineSharp_Utilities.Vector
Résultat Tile

GetTile() public méthode

public GetTile ( int x, int y ) : Tile
x int
y int
Résultat Tile

Map() public méthode

public Map ( ) : System
Résultat System

RemoveMapItem() public méthode

public RemoveMapItem ( MapItem mapItem ) : void
mapItem MapItem
Résultat void

RemovePlayer() public méthode

public RemovePlayer ( Player player, bool leftGame ) : void
player CEngineSharp_Server.World.Entities.Player
leftGame bool
Résultat void

ResizeMap() public méthode

public ResizeMap ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
Résultat void

SendPacket() public méthode

public SendPacket ( Packet packet, NetDeliveryMethod method, ChannelTypes type, bool checkPlayerLoaded = false ) : void
packet CEngineSharp_Server.Networking.Packet
method NetDeliveryMethod
type ChannelTypes
checkPlayerLoaded bool
Résultat void

SetTile() public méthode

public SetTile ( Vector position, Tile tile ) : void
position CEngineSharp_Utilities.Vector
tile Tile
Résultat void

SetTile() public méthode

public SetTile ( int x, int y, Tile tile ) : void
x int
y int
tile Tile
Résultat void

SpawnItem() public méthode

public SpawnItem ( System.Item item, Vector position, int spawnTime ) : void
item System.Item
position CEngineSharp_Utilities.Vector
spawnTime int
Résultat void

SpawnMapNpc() public méthode

public SpawnMapNpc ( Npc npc, Vector position ) : void
npc CEngineSharp_Server.World.Entities.Npc
position CEngineSharp_Utilities.Vector
Résultat void