added collision dedection of new actors via registration function

This commit is contained in:
ruru4143 2023-10-03 16:35:56 +02:00
parent bf26766fa2
commit 00f08b2162

View file

@ -255,6 +255,11 @@ interface ActorType {
The registration of an actor type also registers every actor that is currently in the `listActorsOfThisType()`-list. The registration of an actor type also registers every actor that is currently in the `listActorsOfThisType()`-list.
To avoid new actor conflicts, a function must be called and return true when creating a new users or posts.
```php
function register_new_actor(ActorType $type, String $name) -> Bool
```
# Appendix # Appendix