public static Interior Deserialize(JObject jObject)
        {
            Interior interior = ReflectionUtils.CallPrivateConstructor <Interior>();

            Deserialize(ref jObject, interior);

            return(interior);
        }
Esempio n. 2
0
        public static WorldGridChunk Deserialize(JObject jObject)
        {
            WorldGridChunk worldGridChunk = ReflectionUtils.CallPrivateConstructor <WorldGridChunk>();

            Deserialize(ref jObject, worldGridChunk);

            return(worldGridChunk);
        }
        public static AmbientHitableObject Deserialize(JObject jObject)
        {
            AmbientHitableObject ambientHitableObject = ReflectionUtils.CallPrivateConstructor <AmbientHitableObject>();

            Deserialize(ref jObject, ambientHitableObject);

            ambientHitableObject.Init();

            return(ambientHitableObject);
        }
        public static MovingEntity Deserialize(JObject jObject)
        {
            MovingEntity movingEntity = ReflectionUtils.CallPrivateConstructor <MovingEntity>();

            Deserialize(ref jObject, movingEntity);

            movingEntity.Init();

            return(movingEntity);
        }
Esempio n. 5
0
        public new static DurableEntity Deserialize(JObject jObject)
        {
            DurableEntity durableEntity = ReflectionUtils.CallPrivateConstructor <DurableEntity>();

            Deserialize(ref jObject, durableEntity);

            durableEntity.Init();

            return(durableEntity);
        }