any body got any ideas on how to turn scripts like genbot,ragaman,trivbot etc .. in to .dll plugins for DC Hub V2.0 or where i can get plugins for it ...
all help will be appercaited
Moderator: Moderators
Code: Select all
#ifndef _DCUSER_
#define _DCUSER_
#include "String.h"
#include "InStr.h"
#include <time.h>
struct DCTag
{
int iRegHubs;
int iOPingHubs;
int iNormalUserHubs;
int iSlots;
int iOpenSlots; // this one will not always be present
};
class DCUser
{
private:
String sUsersName;
String sUsersIP;
bool userIsOp;
String Description;
long lShairSize;
String sConectionType;
String sEMail;
String sRawDCTag; // The DC Tag in its raw state e.g.<++ V:0.241,M:A,H:0/3/1,S:4>
bool HasUserLogedInBefore;
String sTimeLogedOn;
struct DCTag UsersTag;
public:
DCUser();
//Default Constructor
DCUser(String sTheUsersName);
// Constructor
char *GetUsersName();
char *GetUsersIP();
bool GetIsUserOp();
char *GetDescription();
long GetShairSize();
char *GetConectionType();
char *GetEMail();
struct DCTag GetTagInfo();
int GetNoOfRegHubsIn();
int GetNoOfOPingHubsIn();
int GetNoOfNormalHubsIn();
bool operator == (DCUser& User);
void SetIP(char *cIP);
void SetIsUserOp (bool bOP);
void SetUserDescription(char *cDescription);
void SetShairSize(long lSize);
void SetConnectionType(char *cConnection);
void SetEMail (char *cTheEMail);
private:
long WorkOutShairSize(long lSizeInBytes);
void WorkOutDCTag();
};
#endif
Users browsing this forum: Google [Bot] and 0 guests