public EntitySubmitOperation(EntitySubmitOperationType operation, EGID from, EGID to,
                                     IComponentBuilder[]          builders = null)
        {
            type          = operation;
            this.builders = builders;
            fromID        = from;
            toID          = to;
#if DEBUG && !PROFILE_SVELTO
            trace = default;
#endif
        }
Ejemplo n.º 2
0
        public EntitySubmitOperation
            (EntitySubmitOperationType operation, ExclusiveGroupStruct @group
            , IComponentBuilder[] descriptorComponentsToBuild) : this()
        {
            type          = operation;
            this.builders = descriptorComponentsToBuild;
            fromID        = new EGID(0, group);
#if DEBUG && !PROFILE_SVELTO
            trace = default;
#endif
        }
Ejemplo n.º 3
0
        public EntitySubmitOperation(EntitySubmitOperationType operation, int entityId, int fromGroupId, int toGroupId, IEntityBuilder[] builders)
        {
            type          = operation;
            this.builders = builders;
            id            = entityId;
            toGroupID     = toGroupId;
            fromGroupID   = fromGroupId;
#if DEBUG
            trace = string.Empty;
#endif
        }
Ejemplo n.º 4
0
        public EntitySubmitOperation(EntitySubmitOperationType operation, EGID from, EGID to,
                                     IEntityBuilder[]          builders = null,
                                     Type entityDescriptor = null)
        {
            type          = operation;
            this.builders = builders;
            fromID        = from;
            toID          = to;

            this.entityDescriptor = entityDescriptor;
#if DEBUG && !PROFILER
            trace = string.Empty;
#endif
        }
Ejemplo n.º 5
0
        public EntitySubmitOperation(
            EntitySubmitOperationType operation, int entityId, int toId, int fromGroupId, int toGroupId,
            IEntityBuilder[] builders, Type entityDescriptor)
        {
            type          = operation;
            this.builders = builders;
            ID            = entityId;
            toID          = toId;

            toGroupID             = toGroupId;
            fromGroupID           = fromGroupId;
            this.entityDescriptor = entityDescriptor;
#if DEBUG && !PROFILER
            trace = string.Empty;
#endif
        }