英文语法修改Registry->Register

This commit is contained in:
2025-07-03 10:15:02 +08:00
parent f6c50e29d9
commit 25060b07d0
7 changed files with 25 additions and 25 deletions

View File

@@ -73,10 +73,10 @@ namespace hgl::io
virtual ~EventDispatch()
{
if(parent_input_event)
parent_input_event->UnregistryEventDispatch(this);
parent_input_event->UnregisterEventDispatch(this);
}
virtual bool RegistryEventDispatch(EventDispatch *ie)
virtual bool RegisterEventDispatch(EventDispatch *ie)
{
if(!ie)
return(false);
@@ -91,7 +91,7 @@ namespace hgl::io
return(event_dispatch_subscribers.Add(ie)!=-1);
}
bool UnregistryEventDispatch(EventDispatch *ie)
bool UnregisterEventDispatch(EventDispatch *ie)
{
if(!ie)return(false);