C# 클래스 Universe.Modules.WorldMap.WorldMapModule

상속: INonSharedRegionModule, IWorldMapModule
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

보호된 프로퍼티들

프로퍼티 타입 설명
m_Enabled bool
m_scene IScene

공개 메소드들

메소드 설명
AddRegion ( IScene scene ) : void
Close ( ) : void
HandleMapItemRequest ( IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle ) : void
Initialize ( IConfigSource source ) : void
OnHTTPGetMapImage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
RequestMapBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void

Requests map blocks in area of minX, maxX, minY, MaxY in world coordinates

보호된 메소드들

메소드 설명
AddHandlers ( ) : void
ClickedOnTile ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
GetAndSendMapBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
GetAndSendTerrainBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
Map2BlockFromGridRegion ( Universe.Framework.Services.GridRegion r ) : List
MapBlockFromGridRegion ( Universe.Framework.Services.GridRegion r, int x, int y ) : MapBlockData
RemoveHandlers ( ) : void
SearchMapBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData
TerrainBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData

비공개 메소드들

메소드 설명
GetEncoderInfo ( string mimeType ) : System.Drawing.Imaging.ImageCodecInfo
GetMapBlocks ( ) : void
GetMapItems ( ) : void
OnClosingClient ( IClientAPI client ) : void
OnMapNameRequest ( IClientAPI remoteClient, string mapName, uint flags ) : void
OnNewClient ( IClientAPI client ) : void

Registered for event

메소드 상세

AddHandlers() 보호된 메소드

protected AddHandlers ( ) : void
리턴 void

AddRegion() 공개 메소드

public AddRegion ( IScene scene ) : void
scene IScene
리턴 void

ClickedOnTile() 보호된 메소드

protected ClickedOnTile ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
remoteClient IClientAPI
minX int
minY int
maxX int
maxY int
flag uint
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

GetAndSendMapBlocks() 보호된 메소드

protected GetAndSendMapBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
remoteClient IClientAPI
minX int
minY int
maxX int
maxY int
flag uint
리턴 void

GetAndSendTerrainBlocks() 보호된 메소드

protected GetAndSendTerrainBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
remoteClient IClientAPI
minX int
minY int
maxX int
maxY int
flag uint
리턴 void

HandleMapItemRequest() 공개 메소드

public HandleMapItemRequest ( IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle ) : void
remoteClient IClientAPI
flags uint
EstateID uint
godlike bool
itemtype uint
regionhandle ulong
리턴 void

Initialize() 공개 메소드

public Initialize ( IConfigSource source ) : void
source IConfigSource
리턴 void

Map2BlockFromGridRegion() 보호된 메소드

protected Map2BlockFromGridRegion ( Universe.Framework.Services.GridRegion r ) : List
r Universe.Framework.Services.GridRegion
리턴 List

MapBlockFromGridRegion() 보호된 메소드

protected MapBlockFromGridRegion ( Universe.Framework.Services.GridRegion r, int x, int y ) : MapBlockData
r Universe.Framework.Services.GridRegion
x int
y int
리턴 Universe.Framework.ClientInterfaces.MapBlockData

OnHTTPGetMapImage() 공개 메소드

public OnHTTPGetMapImage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
리턴 byte[]

RegionLoaded() 공개 메소드

public RegionLoaded ( IScene scene ) : void
scene IScene
리턴 void

RemoveHandlers() 보호된 메소드

protected RemoveHandlers ( ) : void
리턴 void

RemoveRegion() 공개 메소드

public RemoveRegion ( IScene scene ) : void
scene IScene
리턴 void

RequestMapBlocks() 공개 메소드

Requests map blocks in area of minX, maxX, minY, MaxY in world coordinates
public RequestMapBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
remoteClient IClientAPI
minX int
minY int
maxX int
maxY int
flag uint
리턴 void

SearchMapBlockFromGridRegion() 보호된 메소드

protected SearchMapBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData
region Universe.Framework.Services.GridRegion
리턴 Universe.Framework.ClientInterfaces.MapBlockData

TerrainBlockFromGridRegion() 보호된 메소드

protected TerrainBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData
region Universe.Framework.Services.GridRegion
리턴 Universe.Framework.ClientInterfaces.MapBlockData

프로퍼티 상세

m_Enabled 보호되어 있는 프로퍼티

protected bool m_Enabled
리턴 bool

m_scene 보호되어 있는 프로퍼티

protected IScene m_scene
리턴 IScene