C# 클래스 SagaMap.Map

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

공개 프로퍼티들

프로퍼티 타입 설명
CattleyaMapID int
CattleyaX float
CattleyaY float
CattleyaZ float

공개 메소드들

메소드 설명
ACanSeeB ( Actor A, Actor B ) : bool
ACanSeeB ( Actor A, Actor B, float sightrange ) : bool
ACanSeeB ( Actor A, Actor B, float bx, float by ) : bool
ACanSeeB ( Actor A, float ax, float ay, Actor B ) : bool
AddItemToActor ( Actor destinationActor, Item nItem, ITEM_UPDATE_REASON reason ) : void
DeleteActor ( Actor dActor ) : void
GetActor ( uint id ) : Actor
GetActorsArea ( Actor sActor, float range, bool includeSourceActor ) : List
GetHeight ( float x, float y ) : float
GetPC ( string name ) : ActorPC
GetRandomPos ( ) : float[]
GetRegion ( float x, float y, float z ) : uint
GetRegionPlayerCount ( uint region ) : int
HasHeightMap ( ) : bool
Map ( MapInfo info ) : System
MobAIToggle ( uint region, bool toggle ) : void
MoveActor ( MOVE_TYPE mType, Actor mActor, float pos, int yaw, float accel, uint delayTime, ushort speed ) : void
MoveStepIsInRange ( Actor mActor, float to ) : bool
OnActorVisibilityChange ( Actor dActor ) : void
RegisterActor ( Actor nActor ) : bool
RegisterActor ( Actor nActor, uint SessionID ) : bool
RemoveItemFromActorPC ( ActorPC pc, byte index, int itemID, byte amount, ITEM_UPDATE_REASON reason ) : void
RemoveItemFromActorPC ( ActorPC pc, int itemID, byte amount, ITEM_UPDATE_REASON reason ) : void
SendActorToMap ( Actor mActor, Map newMap, float x, float y, float z ) : void
SendActorToMap ( Actor mActor, byte mapid, float x, float y, float z ) : void
SendEventToAllActors ( TOALL_EVENT_TYPE etype, MapEventArgs args, Actor sActor, bool sendToSourceActor ) : void
SendEventToAllActorsWhoCanSeeActor ( EVENT_TYPE etype, MapEventArgs args, Actor sActor, bool sendToSourceActor ) : void
SendTimeWeatherToActor ( Actor sActor ) : void
SendVisibleActorsToActor ( Actor jActor ) : void
UpdateTime ( byte day, byte hour, byte min ) : void
UpdateTimeAndWeather ( byte day, byte hour, byte min, Global weather ) : void
UpdateWeather ( Global weather ) : void

비공개 메소드들

메소드 설명
GetNewActorID ( ActorType type ) : uint
SendActorToActor ( Actor mActor, Actor tActor ) : void
TeleportActor ( Actor sActor, float x, float y, float z ) : void

메소드 상세

ACanSeeB() 공개 메소드

public ACanSeeB ( Actor A, Actor B ) : bool
A SagaDB.Actors.Actor
B SagaDB.Actors.Actor
리턴 bool

ACanSeeB() 공개 메소드

public ACanSeeB ( Actor A, Actor B, float sightrange ) : bool
A SagaDB.Actors.Actor
B SagaDB.Actors.Actor
sightrange float
리턴 bool

ACanSeeB() 공개 메소드

public ACanSeeB ( Actor A, Actor B, float bx, float by ) : bool
A SagaDB.Actors.Actor
B SagaDB.Actors.Actor
bx float
by float
리턴 bool

ACanSeeB() 공개 메소드

public ACanSeeB ( Actor A, float ax, float ay, Actor B ) : bool
A SagaDB.Actors.Actor
ax float
ay float
B SagaDB.Actors.Actor
리턴 bool

AddItemToActor() 공개 메소드

public AddItemToActor ( Actor destinationActor, Item nItem, ITEM_UPDATE_REASON reason ) : void
destinationActor SagaDB.Actors.Actor
nItem Item
reason ITEM_UPDATE_REASON
리턴 void

DeleteActor() 공개 메소드

public DeleteActor ( Actor dActor ) : void
dActor SagaDB.Actors.Actor
리턴 void

GetActor() 공개 메소드

public GetActor ( uint id ) : Actor
id uint
리턴 SagaDB.Actors.Actor

GetActorsArea() 공개 메소드

public GetActorsArea ( Actor sActor, float range, bool includeSourceActor ) : List
sActor SagaDB.Actors.Actor
range float
includeSourceActor bool
리턴 List

GetHeight() 공개 메소드

public GetHeight ( float x, float y ) : float
x float
y float
리턴 float

GetPC() 공개 메소드

public GetPC ( string name ) : ActorPC
name string
리턴 SagaDB.Actors.ActorPC

GetRandomPos() 공개 메소드

public GetRandomPos ( ) : float[]
리턴 float[]

GetRegion() 공개 메소드

public GetRegion ( float x, float y, float z ) : uint
x float
y float
z float
리턴 uint

GetRegionPlayerCount() 공개 메소드

public GetRegionPlayerCount ( uint region ) : int
region uint
리턴 int

HasHeightMap() 공개 메소드

public HasHeightMap ( ) : bool
리턴 bool

Map() 공개 메소드

public Map ( MapInfo info ) : System
info SagaMap.Manager.MapInfo
리턴 System

MobAIToggle() 공개 메소드

public MobAIToggle ( uint region, bool toggle ) : void
region uint
toggle bool
리턴 void

MoveActor() 공개 메소드

public MoveActor ( MOVE_TYPE mType, Actor mActor, float pos, int yaw, float accel, uint delayTime, ushort speed ) : void
mType MOVE_TYPE
mActor SagaDB.Actors.Actor
pos float
yaw int
accel float
delayTime uint
speed ushort
리턴 void

MoveStepIsInRange() 공개 메소드

public MoveStepIsInRange ( Actor mActor, float to ) : bool
mActor SagaDB.Actors.Actor
to float
리턴 bool

OnActorVisibilityChange() 공개 메소드

public OnActorVisibilityChange ( Actor dActor ) : void
dActor SagaDB.Actors.Actor
리턴 void

RegisterActor() 공개 메소드

public RegisterActor ( Actor nActor ) : bool
nActor SagaDB.Actors.Actor
리턴 bool

RegisterActor() 공개 메소드

public RegisterActor ( Actor nActor, uint SessionID ) : bool
nActor SagaDB.Actors.Actor
SessionID uint
리턴 bool

RemoveItemFromActorPC() 공개 메소드

public RemoveItemFromActorPC ( ActorPC pc, byte index, int itemID, byte amount, ITEM_UPDATE_REASON reason ) : void
pc SagaDB.Actors.ActorPC
index byte
itemID int
amount byte
reason ITEM_UPDATE_REASON
리턴 void

RemoveItemFromActorPC() 공개 메소드

public RemoveItemFromActorPC ( ActorPC pc, int itemID, byte amount, ITEM_UPDATE_REASON reason ) : void
pc SagaDB.Actors.ActorPC
itemID int
amount byte
reason ITEM_UPDATE_REASON
리턴 void

SendActorToMap() 공개 메소드

public SendActorToMap ( Actor mActor, Map newMap, float x, float y, float z ) : void
mActor SagaDB.Actors.Actor
newMap Map
x float
y float
z float
리턴 void

SendActorToMap() 공개 메소드

public SendActorToMap ( Actor mActor, byte mapid, float x, float y, float z ) : void
mActor SagaDB.Actors.Actor
mapid byte
x float
y float
z float
리턴 void

SendEventToAllActors() 공개 메소드

public SendEventToAllActors ( TOALL_EVENT_TYPE etype, MapEventArgs args, Actor sActor, bool sendToSourceActor ) : void
etype TOALL_EVENT_TYPE
args MapEventArgs
sActor SagaDB.Actors.Actor
sendToSourceActor bool
리턴 void

SendEventToAllActorsWhoCanSeeActor() 공개 메소드

public SendEventToAllActorsWhoCanSeeActor ( EVENT_TYPE etype, MapEventArgs args, Actor sActor, bool sendToSourceActor ) : void
etype EVENT_TYPE
args MapEventArgs
sActor SagaDB.Actors.Actor
sendToSourceActor bool
리턴 void

SendTimeWeatherToActor() 공개 메소드

public SendTimeWeatherToActor ( Actor sActor ) : void
sActor SagaDB.Actors.Actor
리턴 void

SendVisibleActorsToActor() 공개 메소드

public SendVisibleActorsToActor ( Actor jActor ) : void
jActor SagaDB.Actors.Actor
리턴 void

UpdateTime() 공개 메소드

public UpdateTime ( byte day, byte hour, byte min ) : void
day byte
hour byte
min byte
리턴 void

UpdateTimeAndWeather() 공개 메소드

public UpdateTimeAndWeather ( byte day, byte hour, byte min, Global weather ) : void
day byte
hour byte
min byte
weather Global
리턴 void

UpdateWeather() 공개 메소드

public UpdateWeather ( Global weather ) : void
weather Global
리턴 void

프로퍼티 상세

CattleyaMapID 공개적으로 프로퍼티

public int CattleyaMapID
리턴 int

CattleyaX 공개적으로 프로퍼티

public float CattleyaX
리턴 float

CattleyaY 공개적으로 프로퍼티

public float CattleyaY
리턴 float

CattleyaZ 공개적으로 프로퍼티

public float CattleyaZ
리턴 float