C# 클래스 NetMud.Cartography.Rendering

General set of methods to render rooms, zones and worlds into ascii maps
파일 보기 프로젝트 열기: SwiftAusterity/NetMud

공개 메소드들

메소드 설명
RenderMap ( long map, bool forAdmin, bool withPathways, IRoomData centerRoom ) : string

Renders a map from a single z,y plane

RenderRadiusMap ( IRoom room, int radius ) : string

Render an ascii map of live rooms around a specific radius (always includes pathways, never includes editing links)

RenderRadiusMap ( IRoomData room, int radius, bool forAdmin = true, bool withPathways = true ) : string

Render an ascii map of stored data rooms around a specific radius

비공개 메소드들

메소드 설명
RenderPathwayToAsciiForModals ( IPathwayData path, long originId, MovementDirectionType directionType, IRoomData destination, bool forAdmin = false ) : string
RenderRoomToAscii ( IRoomData destination, bool centered, bool forAdmin = false ) : string

메소드 상세

RenderMap() 공개 정적인 메소드

Renders a map from a single z,y plane
public static RenderMap ( long map, bool forAdmin, bool withPathways, IRoomData centerRoom ) : string
map long The map to render
forAdmin bool is this for admin (with edit links)
withPathways bool include pathway symbols
centerRoom IRoomData the room considered "center"
리턴 string

RenderRadiusMap() 공개 정적인 메소드

Render an ascii map of live rooms around a specific radius (always includes pathways, never includes editing links)
public static RenderRadiusMap ( IRoom room, int radius ) : string
room IRoom the room to render the radius around
radius int the radius around the room to render
리턴 string

RenderRadiusMap() 공개 정적인 메소드

Render an ascii map of stored data rooms around a specific radius
public static RenderRadiusMap ( IRoomData room, int radius, bool forAdmin = true, bool withPathways = true ) : string
room IRoomData the room to render the radius around
radius int the radius around the room to render
forAdmin bool include edit links for paths and rooms?
withPathways bool include paths at all?
리턴 string