Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Zero-K API ?

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
7/11/2022 11:57:14 PMAUrankAdminAquanim before revert after revert
Before After
1 I know that if you follow the instructions on [url=http://zero-k.info/mediawiki/index.php?title=Zero-K:Developing#Modifying_infrastructure.2Ftools]the wiki[/url] for setting up the infrastructure, it will create an empty copy of the database (with the requisite tables) for you. You might also poke around in https://github.com/ZeroK-RTS/Zero-K-Infrastructure/tree/master/ZkData to see the interface between the database and the C# code. [url=https://github.com/ZeroK-RTS/Zero-K-Infrastructure/blob/master/ZkData/ZkDataContext.cs]This file[/url] is probably most useful. 1 I know that if you follow the instructions on [url=http://zero-k.info/mediawiki/index.php?title=Zero-K:Developing#Modifying_infrastructure.2Ftools]the wiki[/url] for setting up the infrastructure, it will create an empty copy of the database (with the requisite tables) for you. You might also poke around in https://github.com/ZeroK-RTS/Zero-K-Infrastructure/tree/master/ZkData to see the interface between the database and the C# code. [url=https://github.com/ZeroK-RTS/Zero-K-Infrastructure/blob/master/ZkData/ZkDataContext.cs]This file[/url] is probably most useful.
2 \n
3 Obviously to have a useful API it needs to connect to the live server in some way, but this might help you get started.