public TriggerScriptReset ( uint localID, UUID itemID ) : void | ||
localID | uint | |
itemID | UUID | |
return | void |
public void ProcessScriptReset(IClientAPI remoteClient, UUID objectID, UUID itemID) { SceneObjectPart part = GetSceneObjectPart(objectID); if (part == null) { return; } if (Permissions.CanResetScript(objectID, itemID, remoteClient.AgentId)) { EventManager.TriggerScriptReset(part.LocalId, itemID); } }