Files
pixelServer/ServerPixel/user.h
T
2022-07-16 15:39:16 +05:00

33 lines
495 B
C++

#include <string>
#include <cstdint>
//#ifndef FRAMEWORK_H
//# define FRAMEWORK_H
//# include <A.h>
//# include <B.h>
//# include <C.h>
//#endif
#pragma once
class user
{
public:
std::string name = "";
char age = 0;
uint32_t id = 0;
public:
user() {};
user(std::string name, char age)
{
this->name = name;
this->age = age;
}
user(uint32_t id)
{
this->id = id;
}
std::string getName() { return name; }
char getAge() { return age; }
uint32_t getId() { return id; }
};