diff --git a/.gitignore b/.gitignore index 0ea5202..405d83d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ woto_files/ woto_docs/ woto_tests/ woto_objects/ +/.vs/ diff --git a/SocialVoid/Client/SocialvoidClient.cs b/SocialVoid/Client/SocialvoidClient.cs new file mode 100644 index 0000000..8c0a1a0 --- /dev/null +++ b/SocialVoid/Client/SocialvoidClient.cs @@ -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); + } + } + } +} diff --git a/SocialVoid/Methods/CreateSession.cs b/SocialVoid/Methods/CreateSession.cs new file mode 100644 index 0000000..496f5a7 --- /dev/null +++ b/SocialVoid/Methods/CreateSession.cs @@ -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; + } + } +}