C# Class GameFramework.Scene

Exibir arquivo Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Private Properties

Property Type Description
AddCareList void
CalcKillIncome void
CreateEntity int
CreateEntity int
CreateSceneLogic SceneLogicInfo
CreateSceneLogic int
DestroyEntities void
DestroyEntity void
DestroyEntityById void
DestroySceneLogic void
DestroySceneLogicByConfigId void
EnterScene void
GetBattleNpcCount int
GetBattleNpcCount int
GetBattleNpcCount int
GetBattleNpcCount int
GetBossCount int
GetDyingBattleNpcCount int
GetDyingBattleNpcCount int
GetEntityById EntityInfo
GetEntityByUnitId EntityInfo
GetNpcCount int
GetRoom Room
GetSceneLogicInfo SceneLogicInfo
GetSceneLogicInfoByConfigId SceneLogicInfo
IsAllPlayerEntered bool
LeaveScene void
LoadData void
LoadObjects void
NotifyAllObserver void
NotifyAllUser void
NotifyAllUser void
NotifyEnteredUser void
OnCreateEntity void
OnDestroyEntity void
OnEntityKilled void
OnHightlightPrompt void
ReloadObjects void
RemoveCareList void
Reset void
Scene System
SetRoom void
SyncForNewObserver void
SyncForNewUser void
SyncSceneObjectsToUser void
SyncUserObjectToOtherUsers void
Tick void
TryAllKilledOrAllDied void
UpdateAirWallInfo void
UpdateKillCount void

Private Methods

Method Description
AddCareList ( EntityInfo info ) : void
CalcKillIncome ( EntityInfo npc ) : void
CreateEntity ( int unitId, float x, float y, float z, float dir, int camp, int linkId ) : int
CreateEntity ( int unitId, float x, float y, float z, float dir, int camp, int linkId, int ai ) : int
CreateSceneLogic ( int infoId, int configId, int logicId ) : SceneLogicInfo
CreateSceneLogic ( int configId, int logicId ) : int
DestroyEntities ( int unit_ids ) : void
DestroyEntity ( EntityInfo ni ) : void
DestroyEntityById ( int id ) : void
DestroySceneLogic ( int id ) : void
DestroySceneLogicByConfigId ( int configId ) : void
EnterScene ( User newUser ) : void
GetBattleNpcCount ( ) : int
GetBattleNpcCount ( EntityInfo src, CharacterRelation relation ) : int
GetBattleNpcCount ( int campId ) : int
GetBattleNpcCount ( int campId, CharacterRelation relation ) : int
GetBossCount ( ) : int
GetDyingBattleNpcCount ( int campId ) : int
GetDyingBattleNpcCount ( int campId, CharacterRelation relation ) : int
GetEntityById ( int id ) : EntityInfo
GetEntityByUnitId ( int unitId ) : EntityInfo
GetNpcCount ( int startUnitId, int endUnitId ) : int
GetRoom ( ) : Room
GetSceneLogicInfo ( int id ) : SceneLogicInfo
GetSceneLogicInfoByConfigId ( int configId ) : SceneLogicInfo
IsAllPlayerEntered ( ) : bool
LeaveScene ( User user ) : void
LoadData ( int resId ) : void
LoadObjects ( ) : void
NotifyAllObserver ( RoomMessageDefine id, object msg ) : void
NotifyAllUser ( RoomMessageDefine id, object msg ) : void
NotifyAllUser ( RoomMessageDefine id, object msg, int exceptId ) : void
NotifyEnteredUser ( RoomMessageDefine id, object msg ) : void
OnCreateEntity ( EntityInfo entity ) : void
OnDestroyEntity ( EntityInfo entity ) : void
OnEntityKilled ( EntityInfo ni ) : void
OnHightlightPrompt ( int userId, string dict, object args ) : void
ReloadObjects ( ) : void
RemoveCareList ( EntityInfo info ) : void
Reset ( ) : void
Scene ( ) : System
SetRoom ( Room room ) : void
SyncForNewObserver ( Observer observer ) : void
SyncForNewUser ( User user ) : void
SyncSceneObjectsToUser ( User user ) : void
SyncUserObjectToOtherUsers ( User user ) : void
Tick ( ) : void
TryAllKilledOrAllDied ( bool tryAllKilled, bool tryAllDied ) : void
UpdateAirWallInfo ( string wallName, bool state ) : void
UpdateKillCount ( EntityInfo npc ) : void