Renamed member variables and parameters.
This commit is contained in:
@@ -83,12 +83,12 @@ namespace ehs
|
||||
virtual void Poll(const float &delta);
|
||||
|
||||
protected:
|
||||
bool HasSystem(UInt_64 sysHashId) const;
|
||||
bool HasSystem(UInt_64 sysId) const;
|
||||
|
||||
bool HasSystem(const Str_8& sysId) const;
|
||||
bool HasSystem(const Str_8& sysName) const;
|
||||
|
||||
NetSys* GetSystem(UInt_64 sysHashId) const;
|
||||
NetSys* GetSystem(UInt_64 sysId) const;
|
||||
|
||||
NetSys* GetSystem(const Str_8& sysId) const;
|
||||
NetSys* GetSystem(const Str_8& sysName) const;
|
||||
};
|
||||
}
|
@@ -14,15 +14,15 @@ namespace ehs
|
||||
private:
|
||||
friend class NetSys;
|
||||
|
||||
UInt_64 hashId;
|
||||
Str_8 id;
|
||||
UInt_64 id;
|
||||
Str_8 name;
|
||||
|
||||
public:
|
||||
virtual ~NetOp() = default;
|
||||
|
||||
NetOp();
|
||||
|
||||
NetOp(Str_8 id);
|
||||
NetOp(Str_8 name);
|
||||
|
||||
NetOp(NetOp &&op) noexcept;
|
||||
|
||||
@@ -32,9 +32,9 @@ namespace ehs
|
||||
|
||||
NetOp &operator=(const NetOp &op);
|
||||
|
||||
Str_8 GetId() const;
|
||||
UInt_64 GetId() const;
|
||||
|
||||
UInt_64 GetHashId() const;
|
||||
Str_8 GetName() const;
|
||||
|
||||
private:
|
||||
virtual void Execute(NetChannel *channel, NetEnd *issuer, NetSys *sys, Serializer<UInt_64> &payload);
|
||||
|
@@ -17,8 +17,8 @@ namespace ehs
|
||||
friend class NetServerCh;
|
||||
friend class NetClientCh;
|
||||
|
||||
UInt_64 hashId;
|
||||
Str_8 id;
|
||||
UInt_64 id;
|
||||
Str_8 name;
|
||||
Array<NetOp*> ops;
|
||||
|
||||
public:
|
||||
@@ -26,7 +26,7 @@ namespace ehs
|
||||
|
||||
NetSys();
|
||||
|
||||
NetSys(Str_8 id);
|
||||
NetSys(Str_8 name);
|
||||
|
||||
NetSys(NetSys &&sys) noexcept;
|
||||
|
||||
@@ -36,15 +36,15 @@ namespace ehs
|
||||
|
||||
NetSys &operator=(const NetSys &sys);
|
||||
|
||||
Str_8 GetId() const;
|
||||
UInt_64 GetId() const;
|
||||
|
||||
UInt_64 GetHashId() const;
|
||||
Str_8 GetName() const;
|
||||
|
||||
bool HasOperation(UInt_64 hashId) const;
|
||||
bool HasOperation(UInt_64 id) const;
|
||||
|
||||
bool AddOperation(NetOp *op);
|
||||
|
||||
private:
|
||||
void Execute(NetChannel *channel, NetEnd *endpoint, UInt_64 hashId, Serializer<UInt_64> &payload);
|
||||
void Execute(NetChannel *channel, NetEnd *issuer, UInt_64 opId, Serializer<UInt_64> &payload);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user