C# Class HaloMap.Render.SpawnInfo.BaseSpawn

The base spawn.
Show file Open project: troymac1ure/Entity

Public Properties

Property Type Description
TagPath string
TagType string
Type SpawnType
X float
Y float
Z float
bbXDiff float
bbYDiff float
bbZDiff float
frozen bool
offset int

Public Methods

Method Description
Read ( Map map ) : void

Spawns must declare a function for reading their data from the map. It is expected that the given map.BR.BaseStream.Position is set already.

Write ( Map map ) : void

Spawns must declare a function for writing their data to the map. It is expected that this.offset has already been set.

Method Details

Read() public abstract method

Spawns must declare a function for reading their data from the map. It is expected that the given map.BR.BaseStream.Position is set already.
public abstract Read ( Map map ) : void
map HaloMap.Map.Map
return void

Write() public abstract method

Spawns must declare a function for writing their data to the map. It is expected that this.offset has already been set.
public abstract Write ( Map map ) : void
map HaloMap.Map.Map
return void

Property Details

TagPath public property

The tag path.
public string TagPath
return string

TagType public property

The tag type.
public string TagType
return string

Type public property

The type.
public SpawnType Type
return SpawnType

X public property

The x.
public float X
return float

Y public property

The y.
public float Y
return float

Z public property

The z.
public float Z
return float

bbXDiff public property

Bounding Box x difference
public float bbXDiff
return float

bbYDiff public property

Bounding Box y difference
public float bbYDiff
return float

bbZDiff public property

Bounding Box z difference
public float bbZDiff
return float

frozen public property

Indicates if object is frozen.
public bool frozen
return bool

offset public property

The offset.
public int offset
return int