From 235fb9c91c0550cd18c6c048c18baf6de0687288 Mon Sep 17 00:00:00 2001 From: maru Date: Mon, 29 Apr 2024 15:32:58 -0400 Subject: [PATCH] Add copyright notice to files --- api/account/changepw.go | 3 +++ api/account/common.go | 3 +++ api/account/info.go | 3 +++ api/account/login.go | 3 +++ api/account/logout.go | 3 +++ api/account/register.go | 3 +++ api/common.go | 3 +++ api/daily/common.go | 3 +++ api/daily/rankings.go | 3 +++ api/daily/rankingspagecount.go | 3 +++ api/endpoints.go | 3 +++ api/savedata/clear.go | 3 +++ api/savedata/common.go | 3 +++ api/savedata/delete.go | 3 +++ api/savedata/get.go | 3 +++ api/savedata/update.go | 3 +++ api/stats.go | 3 +++ db/account.go | 3 +++ db/daily.go | 3 +++ db/db.go | 3 +++ db/game.go | 3 +++ db/savedata.go | 3 +++ defs/daily.go | 3 +++ defs/game.go | 3 +++ defs/savedata.go | 3 +++ rogueserver.go | 3 +++ 26 files changed, 78 insertions(+) diff --git a/api/account/changepw.go b/api/account/changepw.go index 1634f0b..7d83486 100644 --- a/api/account/changepw.go +++ b/api/account/changepw.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package account import ( diff --git a/api/account/common.go b/api/account/common.go index 70e21ba..1cc4ff2 100644 --- a/api/account/common.go +++ b/api/account/common.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package account import ( diff --git a/api/account/info.go b/api/account/info.go index 8e82e77..6830ead 100644 --- a/api/account/info.go +++ b/api/account/info.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package account import ( diff --git a/api/account/login.go b/api/account/login.go index 002b3b4..b34b76c 100644 --- a/api/account/login.go +++ b/api/account/login.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package account import ( diff --git a/api/account/logout.go b/api/account/logout.go index ebd3a74..f25d2d1 100644 --- a/api/account/logout.go +++ b/api/account/logout.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package account import ( diff --git a/api/account/register.go b/api/account/register.go index c80cfe0..656ef30 100644 --- a/api/account/register.go +++ b/api/account/register.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package account import ( diff --git a/api/common.go b/api/common.go index c7dd34b..1b2bf26 100644 --- a/api/common.go +++ b/api/common.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package api import ( diff --git a/api/daily/common.go b/api/daily/common.go index 33b2ecb..1e5e615 100644 --- a/api/daily/common.go +++ b/api/daily/common.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package daily import ( diff --git a/api/daily/rankings.go b/api/daily/rankings.go index be675e9..e4b79bc 100644 --- a/api/daily/rankings.go +++ b/api/daily/rankings.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package daily import ( diff --git a/api/daily/rankingspagecount.go b/api/daily/rankingspagecount.go index 9deb09d..99d29d4 100644 --- a/api/daily/rankingspagecount.go +++ b/api/daily/rankingspagecount.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package daily import ( diff --git a/api/endpoints.go b/api/endpoints.go index 87f0d20..9ac8db5 100644 --- a/api/endpoints.go +++ b/api/endpoints.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package api import ( diff --git a/api/savedata/clear.go b/api/savedata/clear.go index b934571..96be269 100644 --- a/api/savedata/clear.go +++ b/api/savedata/clear.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package savedata import ( diff --git a/api/savedata/common.go b/api/savedata/common.go index 20dc661..d19f5dd 100644 --- a/api/savedata/common.go +++ b/api/savedata/common.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package savedata import ( diff --git a/api/savedata/delete.go b/api/savedata/delete.go index d2c6353..c086f27 100644 --- a/api/savedata/delete.go +++ b/api/savedata/delete.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package savedata import ( diff --git a/api/savedata/get.go b/api/savedata/get.go index 3a33b6d..c698606 100644 --- a/api/savedata/get.go +++ b/api/savedata/get.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package savedata import ( diff --git a/api/savedata/update.go b/api/savedata/update.go index 264142f..6c40b1c 100644 --- a/api/savedata/update.go +++ b/api/savedata/update.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package savedata import ( diff --git a/api/stats.go b/api/stats.go index 7086e52..c0ac01f 100644 --- a/api/stats.go +++ b/api/stats.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package api import ( diff --git a/db/account.go b/db/account.go index e6a90fe..359d013 100644 --- a/db/account.go +++ b/db/account.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package db import ( diff --git a/db/daily.go b/db/daily.go index 4a068a7..83b8c26 100644 --- a/db/daily.go +++ b/db/daily.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package db import ( diff --git a/db/db.go b/db/db.go index aeb6537..277d1b5 100644 --- a/db/db.go +++ b/db/db.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package db import ( diff --git a/db/game.go b/db/game.go index 92bd744..63d5f17 100644 --- a/db/game.go +++ b/db/game.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package db func FetchPlayerCount() (int, error) { diff --git a/db/savedata.go b/db/savedata.go index e5901de..b09b6d8 100644 --- a/db/savedata.go +++ b/db/savedata.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package db func TryAddDailyRunCompletion(uuid []byte, seed string, mode int) (bool, error) { diff --git a/defs/daily.go b/defs/daily.go index 77a13f4..5bddc02 100644 --- a/defs/daily.go +++ b/defs/daily.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package defs type DailyRanking struct { diff --git a/defs/game.go b/defs/game.go index d7c58ea..ad02eb7 100644 --- a/defs/game.go +++ b/defs/game.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package defs type TitleStats struct { diff --git a/defs/savedata.go b/defs/savedata.go index e7fdfb0..d13b223 100644 --- a/defs/savedata.go +++ b/defs/savedata.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package defs const SessionSlotCount = 5 diff --git a/rogueserver.go b/rogueserver.go index 770858d..f9085a2 100644 --- a/rogueserver.go +++ b/rogueserver.go @@ -1,3 +1,6 @@ +// Copyright (C) 2024 Pagefault Games - All Rights Reserved +// https://github.com/pagefaultgames + package main import (