2024-08-19 09:43:46 +08:00
|
|
|
---
|
|
|
|
title: liteyuki.comm.event
|
|
|
|
---
|
2024-08-29 14:19:39 +08:00
|
|
|
### **class** `Event`
|
|
|
|
### *method* `__init__(self, name: str, data: dict[str, Any])`
|
2024-08-19 09:43:46 +08:00
|
|
|
|
2024-08-19 10:04:24 +08:00
|
|
|
|
2024-08-21 17:59:21 +08:00
|
|
|
<details>
|
2024-08-29 14:19:39 +08:00
|
|
|
<summary> <b>源代码</b> </summary>
|
2024-08-21 17:59:21 +08:00
|
|
|
|
|
|
|
```python
|
|
|
|
def __init__(self, name: str, data: dict[str, Any]):
|
|
|
|
self.name = name
|
|
|
|
self.data = data
|
|
|
|
```
|
|
|
|
</details>
|
|
|
|
|