Skip to content

Commit

Permalink
Add license stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Jun 9, 2024
1 parent ce75e30 commit 54b05cf
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
19 changes: 18 additions & 1 deletion A2SServer/PlayerSimulation.cs
Original file line number Diff line number Diff line change
@@ -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 <https://www.gnu.org/licenses/>.
*/

namespace A2SServer;

public class InfoUpdatedEventArgs(Info info) : EventArgs
{
Expand Down
21 changes: 19 additions & 2 deletions A2SServer/WeightedRandom.cs
Original file line number Diff line number Diff line change
@@ -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 <https://www.gnu.org/licenses/>.
*/

namespace A2SServer;

using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -40,4 +57,4 @@ public T GetRandom()

throw new ArgumentException("no entries");
}
}
}

0 comments on commit 54b05cf

Please sign in to comment.