C# 클래스 Universe.Framework.Services.ClassHelpers.Other.UniverseEventManager

A generic event manager that fires one event for many generic events
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe 1 사용 예제들

공개 메소드들

메소드 설명
FireGenericEventHandler ( string FunctionName, object Param ) : List

Fire a generic event for all modules hooking onto it

RegisterEventHandler ( string functionName, OnGenericEventHandler handler ) : void

Events so far: DrawDistanceChanged - Changed Draw Distance parameter is a ScenePresence BanUser - Added a new banned user to the estate bans parameter is a UUID of an agent UnBanUser - Removed a banned user from the estate bans parameter is a UUID of an agent SignficantCameraMovement - The Camera has moved a distance that has triggered this update parameter is a ScenePresence ObjectChangedOwner - An object's owner was changed parameter is a SceneObjectGroup ObjectChangedPhysicalStatus - An object's physical status has changed parameter is a SceneObjectGroup ObjectEnteringNewParcel - An object has entered a new parcel parameter is an object[], with o[0] a SceneObjectGroup, o[1] the new parcel UUID, and o[2] the old parcel UUID UserStatusChange - User's status (logged in/out) has changed parameter is a object[], with o[0] the UUID of the user (as a string), o[1] whether they are logging in, o[2] the region they are entering (if logging in) PreRegisterRegion - A region is about to be registered parameter is a GridRegion NewUserConnection - A new user has been added to the scene (child or root) parameter is an object[], with o[0] the AgentCircuitData that will be added to the region EstateUpdated - An estate has been updated parameter is the EstateSettings of the changed estate ObjectAddedFlag - An object in the Scene has added a prim flag parameter is an object[], with o[0] a ISceneChildEntity and o[1] the flag that was changed ObjectRemovedFlag - An object in the Scene has removed a prim flag parameter is an object[], with o[0] a ISceneChildEntity and o[1] the flag that was changed SetAppearance - An avatar has updated their appearance parameter is an object[], with o[0] the UUID of the avatar and o[1] the AvatarData that is to be updated GridRegionSuccessfullyRegistered - Universe.Server, A region has registered with the grid service parameter is an object[], with o[0] the OSDMap which will be sent to the new region, o[1] the SessionID, o[2] the GridRegion that registered Backup - The 'backup' console command was triggered, everything should backup no parameters DeleteUserInformation - The user is being deleted, remove all of their information from all databases parameter are the user's UUID CreateUserInformation - The user account is being created parameter are the user's UUID UpdateUserInformation - The user account is being updated parameter are the user's UUID

UnregisterEventHandler ( string functionName, OnGenericEventHandler handler ) : void

메소드 상세

FireGenericEventHandler() 공개 메소드

Fire a generic event for all modules hooking onto it
public FireGenericEventHandler ( string FunctionName, object Param ) : List
FunctionName string Name of event to trigger
Param object Any parameters to pass along with the event
리턴 List

RegisterEventHandler() 공개 메소드

Events so far: DrawDistanceChanged - Changed Draw Distance parameter is a ScenePresence BanUser - Added a new banned user to the estate bans parameter is a UUID of an agent UnBanUser - Removed a banned user from the estate bans parameter is a UUID of an agent SignficantCameraMovement - The Camera has moved a distance that has triggered this update parameter is a ScenePresence ObjectChangedOwner - An object's owner was changed parameter is a SceneObjectGroup ObjectChangedPhysicalStatus - An object's physical status has changed parameter is a SceneObjectGroup ObjectEnteringNewParcel - An object has entered a new parcel parameter is an object[], with o[0] a SceneObjectGroup, o[1] the new parcel UUID, and o[2] the old parcel UUID UserStatusChange - User's status (logged in/out) has changed parameter is a object[], with o[0] the UUID of the user (as a string), o[1] whether they are logging in, o[2] the region they are entering (if logging in) PreRegisterRegion - A region is about to be registered parameter is a GridRegion NewUserConnection - A new user has been added to the scene (child or root) parameter is an object[], with o[0] the AgentCircuitData that will be added to the region EstateUpdated - An estate has been updated parameter is the EstateSettings of the changed estate ObjectAddedFlag - An object in the Scene has added a prim flag parameter is an object[], with o[0] a ISceneChildEntity and o[1] the flag that was changed ObjectRemovedFlag - An object in the Scene has removed a prim flag parameter is an object[], with o[0] a ISceneChildEntity and o[1] the flag that was changed SetAppearance - An avatar has updated their appearance parameter is an object[], with o[0] the UUID of the avatar and o[1] the AvatarData that is to be updated GridRegionSuccessfullyRegistered - Universe.Server, A region has registered with the grid service parameter is an object[], with o[0] the OSDMap which will be sent to the new region, o[1] the SessionID, o[2] the GridRegion that registered Backup - The 'backup' console command was triggered, everything should backup no parameters DeleteUserInformation - The user is being deleted, remove all of their information from all databases parameter are the user's UUID CreateUserInformation - The user account is being created parameter are the user's UUID UpdateUserInformation - The user account is being updated parameter are the user's UUID
public RegisterEventHandler ( string functionName, OnGenericEventHandler handler ) : void
functionName string
handler OnGenericEventHandler
리턴 void

UnregisterEventHandler() 공개 메소드

public UnregisterEventHandler ( string functionName, OnGenericEventHandler handler ) : void
functionName string
handler OnGenericEventHandler
리턴 void