diff --git a/A2SServer/PlayerSimulation.cs b/A2SServer/PlayerSimulation.cs index 0c76ef0..c822e89 100644 --- a/A2SServer/PlayerSimulation.cs +++ b/A2SServer/PlayerSimulation.cs @@ -1,4 +1,21 @@ -namespace A2SServer; +/* + * Copyright (C) 2023-2024 Tuomo Kriikkula + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +namespace A2SServer; public class InfoUpdatedEventArgs(Info info) : EventArgs { diff --git a/A2SServer/WeightedRandom.cs b/A2SServer/WeightedRandom.cs index 43a8e9a..38d5bdf 100644 --- a/A2SServer/WeightedRandom.cs +++ b/A2SServer/WeightedRandom.cs @@ -1,4 +1,21 @@ -namespace A2SServer; +/* + * Copyright (C) 2023-2024 Tuomo Kriikkula + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +namespace A2SServer; using System; using System.Collections.Generic; @@ -40,4 +57,4 @@ public T GetRandom() throw new ArgumentException("no entries"); } -} +} \ No newline at end of file