Merge branch 'sayan-dev' of https://github.com/intellivoid/Socialvoid.NET into aliwoto-dev

This commit is contained in:
Aliwoto 2021-09-07 08:15:46 +00:00
commit bc61768397
No known key found for this signature in database
GPG Key ID: 646B4FE4205EC48C
3 changed files with 33 additions and 0 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ woto_files/
woto_docs/
woto_tests/
woto_objects/
/.vs/

View File

@ -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);
}
}
}
}

View File

@ -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;
}
}
}