C# 클래스 CEngineSharp_Server.World.Maps.Map

파일 보기 프로젝트 열기: JohnLamontagne/CEngineSharp 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

AddPlayer() 공개 메소드

public AddPlayer ( Player player ) : void
player CEngineSharp_Server.World.Entities.Player
리턴 void

DespawnMapNpc() 공개 메소드

public DespawnMapNpc ( MapNpc mapNpc ) : void
mapNpc CEngineSharp_Server.World.Entities.MapNpc
리턴 void

DespawnMapNpc() 공개 메소드

public DespawnMapNpc ( int mapNpcIndex ) : void
mapNpcIndex int
리턴 void

GetMapData() 공개 메소드

public GetMapData ( ) : NetBuffer
리턴 Lidgren.Network.NetBuffer

GetMapItem() 공개 메소드

public GetMapItem ( Vector mapItemPos ) : MapItem
mapItemPos CEngineSharp_Utilities.Vector
리턴 MapItem

GetMapItems() 공개 메소드

public GetMapItems ( ) : CEngineSharp_Server.World.Maps.MapItem[]
리턴 CEngineSharp_Server.World.Maps.MapItem[]

GetMapNpc() 공개 메소드

public GetMapNpc ( int mapNpcIndex ) : MapNpc
mapNpcIndex int
리턴 CEngineSharp_Server.World.Entities.MapNpc

GetMapNpcs() 공개 메소드

public GetMapNpcs ( ) : CEngineSharp_Server.World.Entities.MapNpc[]
리턴 CEngineSharp_Server.World.Entities.MapNpc[]

GetPlayer() 공개 메소드

public GetPlayer ( int playerIndex ) : Player
playerIndex int
리턴 CEngineSharp_Server.World.Entities.Player

GetPlayers() 공개 메소드

public GetPlayers ( ) : CEngineSharp_Server.World.Entities.Player[]
리턴 CEngineSharp_Server.World.Entities.Player[]

GetTile() 공개 메소드

public GetTile ( Vector position ) : Tile
position CEngineSharp_Utilities.Vector
리턴 Tile

GetTile() 공개 메소드

public GetTile ( int x, int y ) : Tile
x int
y int
리턴 Tile

Map() 공개 메소드

public Map ( ) : System
리턴 System

RemoveMapItem() 공개 메소드

public RemoveMapItem ( MapItem mapItem ) : void
mapItem MapItem
리턴 void

RemovePlayer() 공개 메소드

public RemovePlayer ( Player player, bool leftGame ) : void
player CEngineSharp_Server.World.Entities.Player
leftGame bool
리턴 void

ResizeMap() 공개 메소드

public ResizeMap ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
리턴 void

SendPacket() 공개 메소드

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

SetTile() 공개 메소드

public SetTile ( Vector position, Tile tile ) : void
position CEngineSharp_Utilities.Vector
tile Tile
리턴 void

SetTile() 공개 메소드

public SetTile ( int x, int y, Tile tile ) : void
x int
y int
tile Tile
리턴 void

SpawnItem() 공개 메소드

public SpawnItem ( System.Item item, Vector position, int spawnTime ) : void
item System.Item
position CEngineSharp_Utilities.Vector
spawnTime int
리턴 void

SpawnMapNpc() 공개 메소드

public SpawnMapNpc ( Npc npc, Vector position ) : void
npc CEngineSharp_Server.World.Entities.Npc
position CEngineSharp_Utilities.Vector
리턴 void