mirror of
https://github.com/NamelessMC/Nameless
synced 2026-08-18 06:29:04 -04:00
20 lines
468 B
PHP
20 lines
468 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
class PreTopicEditEvent extends AbstractEvent {
|
||
|
|
|
||
|
|
public string $content;
|
||
|
|
public User $user;
|
||
|
|
public int $topic_id;
|
||
|
|
public int $post_id;
|
||
|
|
|
||
|
|
public function __construct(string $content, User $user, int $topic_id, int $post_id) {
|
||
|
|
$this->content = $content;
|
||
|
|
$this->user = $user;
|
||
|
|
$this->topic_id = $topic_id;
|
||
|
|
$this->post_id = $post_id;
|
||
|
|
}
|
||
|
|
|
||
|
|
public static function internal(): bool {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
}
|