Ejemplo n.º 1
0
        public RoomActor(uint Id, RoomActorType Type, uint ReferenceId, object ReferenceObject, Vector3 Position, int Rotation, RoomInstance Instance)
        {
            mId               = Id;
            mType             = Type;
            mReferenceId      = ReferenceId;
            mReferenceObject  = ReferenceObject;
            mPosition         = Position;
            mBodyRotation     = Rotation;
            mHeadRotation     = Rotation;
            mUpdateNeeded     = true;
            mStatusses        = new Dictionary <string, string>();
            mInstance         = Instance;
            mEnableClipping   = true;
            mMovementSyncRoot = new object();

            mPathfinder = PathfinderManager.CreatePathfinderInstance();
            mPathfinder.SetRoomInstance(mInstance, Id);
        }
Ejemplo n.º 2
0
 public SpaceActor(uint uint_2, SpaceActorType Type, uint ReferenceId, object ReferenceObject, Vector3 Position, int Rotation, SpaceInstance Instance)
 {
     this.uint_0           = uint_2;
     this.spaceActorType_0 = Type;
     this.uint_1           = ReferenceId;
     this.object_0         = ReferenceObject;
     this.vector3_0        = Position;
     this.vector3_1        = Position;
     this.int_0            = Rotation;
     this.bool_0           = false;
     this.bool_6           = false;
     this.bool_3           = false;
     this.bool_4           = false;
     this.dictionary_0     = new Dictionary <string, string>();
     this.spaceInstance_0  = Instance;
     this.bool_1           = true;
     this.object_1         = new object();
     this.pathfinder_0     = PathfinderManager.CreatePathfinderInstance();
     this.pathfinder_0.SetSpaceInstance(this.spaceInstance_0, uint_2);
     this.method_1(500);
     this.method_2(500);
 }