Table of Contents

Class WorldXmlDeserializer

Namespace
Alis.Core.Physic.Common
Assembly
Alis.dll

The world xml deserializer class

internal static class WorldXmlDeserializer

Inheritance

Inherited Members

Methods

Deserialize(Stream)

Deserializes the stream

internal static World Deserialize(Stream stream)

Parameters

stream Stream

The stream

Returns

World

The world

Deserialize(World, Stream)

Deserializes the world

private static void Deserialize(World world, Stream stream)

Parameters

world World

The world

stream Stream

The stream

Exceptions

Exception
Exception
Exception
Exception
Exception
Exception
Exception
Exception
Exception

Gear joint is unsupported

Exception

GearJoint is not supported.

Exception

Invalid or unsupported joint.

ParseFloat(string)

Parses the float using the specified value

private static float ParseFloat(string value)

Parameters

value string

The value

Returns

float

The float

ReadSimpleType(XMLFragmentElement, Type, bool)

Reads the simple type using the specified node

private static object ReadSimpleType(XMLFragmentElement node, Type type, bool outer)

Parameters

node XMLFragmentElement

The node

type Type

The type

outer bool

The outer

Returns

object

The object

ReadVector(XMLFragmentElement)

Reads the vector using the specified node

private static Vector2 ReadVector(XMLFragmentElement node)

Parameters

node XMLFragmentElement

The node

Returns

Vector2

The vector