C# Class SharpMod.BufferInfo

A class for dealing with infobuffers (localinfo, serverinfo)
Datei anzeigen Open project: txdv/sharpmod Class Usage Examples

Public Methods

Method Description
Get ( string key ) : string

Gets a value for a key from the infobuffer

Set ( string key, string val ) : void

Sets a value for a key in the infobuffer

this ( string key ) : string

Set and get a key value

Private Methods

Method Description
BufferInfo ( IntPtr pointer ) : System

The constructor ...

Method Details

Get() public method

Gets a value for a key from the infobuffer
public Get ( string key ) : string
key string /// The key ///
return string

Set() public method

Sets a value for a key in the infobuffer
public Set ( string key, string val ) : void
key string /// The key ///
val string /// A value ///
return void

this() public method

Set and get a key value
public this ( string key ) : string
key string /// The key which the data is going to be associated with ///
return string