C# Class FOnline.Scenery

Show file Open project: wladimiiir/vault112 Class Usage Examples

Private Methods

Method Description
AddRef ( IntPtr ptr ) : void
FromNative ( IntPtr ptr ) : Scenery

Retrieves managed object basing on a native pointer to MapObject.

This method instantiates managed object every time because we are not storing the reference anywhere on the outside (like we do for critters/items/maps etc) in this case (to save memory).

Release ( IntPtr ptr ) : void