mirror of
https://github.com/barronwaffles/dwc_network_server_emulator.git
synced 2026-08-23 02:55:08 -05:00
Sake server: SSBB tables added
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
Copyright (C) 2014 polaris-
|
||||
Copyright (C) 2014 AdmiralCurtiss
|
||||
Copyright (C) 2014 msoucy
|
||||
Copyright (C) 2018 Sepalani
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
@@ -157,6 +158,20 @@ class StorageHTTPServer(BaseHTTPServer.HTTPServer):
|
||||
[PK, 'INT', 'INT', 'INT' ],
|
||||
['int', 'byte', 'int', 'int' ])
|
||||
|
||||
# Super Smash Bros. Brawl
|
||||
self.create_or_alter_table_if_not_exists(
|
||||
'g1658_submit',
|
||||
['recordid', 'ownerid', 'data'],
|
||||
[PK, 'INT', 'INT'],
|
||||
['int', 'int', 'int']
|
||||
)
|
||||
self.create_or_alter_table_if_not_exists(
|
||||
'g1658_watching',
|
||||
['recordid', 'ownerid', 'data'],
|
||||
[PK, 'INT', 'INT'],
|
||||
['int', 'int', 'int']
|
||||
)
|
||||
|
||||
# load column info into memory, unfortunately there's no simple way
|
||||
# to check for column-existence so get that data in advance
|
||||
cursor.execute("SELECT name FROM sqlite_master WHERE type='table'")
|
||||
|
||||
Reference in New Issue
Block a user