You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there was almost a 3 major engine version and the nested classes are not supported yet,
limiting a decision choices for systems with out prefix evry think with the name
as a example:
API_CLASS() class EelementData
{
...
};
API_CLASS() class Eelement
{
...
private:API_FIELD() EelementData m_Data;
};
and because only classes are nullabke in c# by default
structs cannot be used. because the bindings are not supporting a C# optionals [Data? data = null;]
Structs
structs and propertys are not suported yet
hiden structs fields not suported yet
structs not suporting a funcions
structs losing data
add support for API functions in structures (needed for Serialize(NetworkStream* stream))
with leads to this design because it is foreced on to a user
c++ side
API_STRUCT(NoPod) struct MODULE_API Data : public INetworkSerializable
{
...
API_FIELD(internal) bool m_IsDirty; //needed to be exposed othere wise the flax C# Glue layer will remove it when pasing betwine c# and c++ and back/// <summary>/// Use Getter and Seter insted/// </summary>API_FIELD(internal) String m_Name;
voidSetName(const String& name);
const String& GetName() const;
...
};
Issue description:
Classes
there was almost a 3 major engine version and the nested classes are not supported yet,
limiting a decision choices for systems with out prefix evry think with the name
as a example:
and because only classes are nullabke in c# by default
structs cannot be used. because the bindings are not supporting a C# optionals [Data? data = null;]
Structs
with leads to this design because it is foreced on to a user
c++ side
c# side needs a extra code
The text was updated successfully, but these errors were encountered: