C# 클래스 OpenNos.GameObject.Map

상속: OpenNos.Data.MapDTO, IGameObject
파일 보기 프로젝트 열기: OpenNos/OpenNos 1 사용 예제들

공개 메소드들

메소드 설명
AddMonster ( MapMonster monster ) : void
Dispose ( ) : void
DropItemByMonster ( long Owner, DropDTO drop, short mapX, short mapY, int gold ) : void
GenerateUserShops ( ) : IEnumerable
GetDistance ( Character character1, Character character2 ) : int
GetDistance ( MapCell p, MapCell q ) : int
GetListMonsterInRange ( short mapX, short mapY, byte distance ) : List
GetMonster ( long mapMonsterId ) : MapMonster
GetNextMonsterId ( ) : int
IsBlockedZone ( int x, int y ) : bool
IsBlockedZone ( int firstX, int firstY, int mapX, int mapY ) : bool
JPSPlus ( JumpPointParam JumpPointParameters, GridPos cell1, GridPos cell2 ) : List
LoadMonsters ( ) : void
LoadZone ( ) : void
Map ( short mapId, System.Guid uniqueIdentifier, byte data ) : System
PutItem ( InventoryType type, short slot, byte amount, ItemInstance &inv, ClientSession session ) : MapItem
RemoveMapItem ( ) : void
RemoveMonster ( MapMonster monsterToRemove ) : void
SetMapMapMonsterReference ( ) : void
SetMapMapNpcReference ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
GetCharactersInRange ( short mapX, short mapY, byte distance ) : IEnumerable
GetFreePosition ( short &firstX, short &firstY, byte xpoint, byte ypoint ) : bool
RemoveMonstersTarget ( long characterId ) : void
StraightPath ( GridPos mapCell1, GridPos mapCell2 ) : List

메소드 상세

AddMonster() 공개 메소드

public AddMonster ( MapMonster monster ) : void
monster MapMonster
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DropItemByMonster() 공개 메소드

public DropItemByMonster ( long Owner, DropDTO drop, short mapX, short mapY, int gold ) : void
Owner long
drop OpenNos.Data.DropDTO
mapX short
mapY short
gold int
리턴 void

GenerateUserShops() 공개 메소드

public GenerateUserShops ( ) : IEnumerable
리턴 IEnumerable

GetDistance() 공개 정적인 메소드

public static GetDistance ( Character character1, Character character2 ) : int
character1 Character
character2 Character
리턴 int

GetDistance() 공개 정적인 메소드

public static GetDistance ( MapCell p, MapCell q ) : int
p MapCell
q MapCell
리턴 int

GetListMonsterInRange() 공개 메소드

public GetListMonsterInRange ( short mapX, short mapY, byte distance ) : List
mapX short
mapY short
distance byte
리턴 List

GetMonster() 공개 메소드

public GetMonster ( long mapMonsterId ) : MapMonster
mapMonsterId long
리턴 MapMonster

GetNextMonsterId() 공개 메소드

public GetNextMonsterId ( ) : int
리턴 int

IsBlockedZone() 공개 메소드

public IsBlockedZone ( int x, int y ) : bool
x int
y int
리턴 bool

IsBlockedZone() 공개 메소드

public IsBlockedZone ( int firstX, int firstY, int mapX, int mapY ) : bool
firstX int
firstY int
mapX int
mapY int
리턴 bool

JPSPlus() 공개 메소드

public JPSPlus ( JumpPointParam JumpPointParameters, GridPos cell1, GridPos cell2 ) : List
JumpPointParameters JumpPointParam
cell1 GridPos
cell2 GridPos
리턴 List

LoadMonsters() 공개 메소드

public LoadMonsters ( ) : void
리턴 void

LoadZone() 공개 메소드

public LoadZone ( ) : void
리턴 void

Map() 공개 메소드

public Map ( short mapId, System.Guid uniqueIdentifier, byte data ) : System
mapId short
uniqueIdentifier System.Guid
data byte
리턴 System

PutItem() 공개 메소드

public PutItem ( InventoryType type, short slot, byte amount, ItemInstance &inv, ClientSession session ) : MapItem
type InventoryType
slot short
amount byte
inv ItemInstance
session ClientSession
리턴 MapItem

RemoveMapItem() 공개 메소드

public RemoveMapItem ( ) : void
리턴 void

RemoveMonster() 공개 메소드

public RemoveMonster ( MapMonster monsterToRemove ) : void
monsterToRemove MapMonster
리턴 void

SetMapMapMonsterReference() 공개 메소드

public SetMapMapMonsterReference ( ) : void
리턴 void

SetMapMapNpcReference() 공개 메소드

public SetMapMapNpcReference ( ) : void
리턴 void