Client: try to plan out a basic structure.
This commit is contained in:
parent
0fb30da3fe
commit
a99696f932
|
@ -7,3 +7,4 @@ woto_files/
|
||||||
woto_docs/
|
woto_docs/
|
||||||
woto_tests/
|
woto_tests/
|
||||||
woto_objects/
|
woto_objects/
|
||||||
|
/.vs/
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
using SocialVoid.Methods;
|
||||||
|
|
||||||
|
namespace SocialVoid.Client
|
||||||
|
{
|
||||||
|
class SocialvoidClient
|
||||||
|
{
|
||||||
|
public string PUB_HASH, PVT_HASH, SOCIALVOID_PLATFORM, SOCIALVOID_VERSION;
|
||||||
|
public SocialvoidClient(string public_hash, string private_hash, string platform, string version)
|
||||||
|
{
|
||||||
|
PUB_HASH = public_hash;
|
||||||
|
PVT_HASH = private_hash;
|
||||||
|
SOCIALVOID_PLATFORM = platform;
|
||||||
|
SOCIALVOID_VERSION = version;
|
||||||
|
|
||||||
|
|
||||||
|
bool createsession()
|
||||||
|
{
|
||||||
|
return Methods.CreateSession.Do(PUB_HASH, PVT_HASH, SOCIALVOID_PLATFORM, SOCIALVOID_VERSION);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
namespace SocialVoid.Methods
|
||||||
|
{
|
||||||
|
class CreateSession
|
||||||
|
{
|
||||||
|
public static bool Do(string public_hash, string private_hash, string platform, string version)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue