This repository has been archived on 2024-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
api/event_structure.wsd

25 lines
855 B
Plaintext

/'
Copyright (C) 2024 CSharp.Discord.API
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
'/
@startuml Event structure
abstract class Event{
' The main event class describing every
' event happening within the state machine
+ Readonly Dictionary<string, object> Fields
}
abstract class CreateEvent extends Event{
}
abstract class ModifyEvent extends Event{
}
abstract class DeleteEvent extends Event{
}
@enduml