C# Class MapServer.GameMap

Show file Open project: dream-young-soul/soul Class Usage Examples

Public Properties

Property Type Description
last_null_tick int
mPath MapPath
mnHeight uint
mnVersion uint
mnWidth uint

Public Methods

Method Description
AddDropItemObj ( uint itemid, short x, short y, uint ownerid, int time = 120000, GameStruct info = null, RoleData_Eudemon eudemon = null ) : void
AddObject ( BaseObject obj, GameBase session = null ) : void
AddRegionInfo ( GameStruct info ) : void
BroadcastBuffer ( BaseObject obj, byte buff ) : void
BroadcastMsg ( GameBase type, String msg ) : void
CanMove ( short x, short y ) : bool
Clone ( ) : GameMap
Create ( ) : bool
CreateMonster ( GameStruct info ) : void
FindMonsterObject ( uint id ) : MonsterObject
FindObjectForID ( uint id ) : BaseObject
GameMap ( GameStruct mapinfo ) : System
GetAllObject ( ) : BaseObject>.Dictionary
GetID ( ) : uint
GetMapGridInfo ( ) : GameStruct.MapGridInfo[
GetMapInfo ( ) : MapInfo
GetMapPath ( ) : MapPath
GetObject ( uint id ) : BaseObject
GetObjectCount ( byte type ) : int
GetPointOfObj ( BaseObject obj, short x, short y ) : bool
IsSafeArea ( short x, short y ) : bool
Process ( ) : void
RemoveObj ( BaseObject obj ) : void
SendWeatherInfo ( PlayerObject play ) : void

Method Details

AddDropItemObj() public method

public AddDropItemObj ( uint itemid, short x, short y, uint ownerid, int time = 120000, GameStruct info = null, RoleData_Eudemon eudemon = null ) : void
itemid uint
x short
y short
ownerid uint
time int
info GameStruct
eudemon GameBase.Network.Internal.RoleData_Eudemon
return void

AddObject() public method

public AddObject ( BaseObject obj, GameBase session = null ) : void
obj BaseObject
session GameBase
return void

AddRegionInfo() public method

public AddRegionInfo ( GameStruct info ) : void
info GameStruct
return void

BroadcastBuffer() public method

public BroadcastBuffer ( BaseObject obj, byte buff ) : void
obj BaseObject
buff byte
return void

BroadcastMsg() public method

public BroadcastMsg ( GameBase type, String msg ) : void
type GameBase
msg String
return void

CanMove() public method

public CanMove ( short x, short y ) : bool
x short
y short
return bool

Clone() public method

public Clone ( ) : GameMap
return GameMap

Create() public method

public Create ( ) : bool
return bool

CreateMonster() public method

public CreateMonster ( GameStruct info ) : void
info GameStruct
return void

FindMonsterObject() public method

public FindMonsterObject ( uint id ) : MonsterObject
id uint
return MonsterObject

FindObjectForID() public method

public FindObjectForID ( uint id ) : BaseObject
id uint
return BaseObject

GameMap() public method

public GameMap ( GameStruct mapinfo ) : System
mapinfo GameStruct
return System

GetAllObject() public method

public GetAllObject ( ) : BaseObject>.Dictionary
return BaseObject>.Dictionary

GetID() public method

public GetID ( ) : uint
return uint

GetMapGridInfo() public method

public GetMapGridInfo ( ) : GameStruct.MapGridInfo[
return GameStruct.MapGridInfo[

GetMapInfo() public method

public GetMapInfo ( ) : MapInfo
return GameStruct.MapInfo

GetMapPath() public method

public GetMapPath ( ) : MapPath
return MapPath

GetObject() public method

public GetObject ( uint id ) : BaseObject
id uint
return BaseObject

GetObjectCount() public method

public GetObjectCount ( byte type ) : int
type byte
return int

GetPointOfObj() public method

public GetPointOfObj ( BaseObject obj, short x, short y ) : bool
obj BaseObject
x short
y short
return bool

IsSafeArea() public method

public IsSafeArea ( short x, short y ) : bool
x short
y short
return bool

Process() public method

public Process ( ) : void
return void

RemoveObj() public method

public RemoveObj ( BaseObject obj ) : void
obj BaseObject
return void

SendWeatherInfo() public method

public SendWeatherInfo ( PlayerObject play ) : void
play PlayerObject
return void

Property Details

last_null_tick public property

public int last_null_tick
return int

mPath public property

public MapPath,MapServer mPath
return MapPath

mnHeight public property

public uint mnHeight
return uint

mnVersion public property

public uint mnVersion
return uint

mnWidth public property

public uint mnWidth
return uint