C# Class SharpMod.BufferInfo

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

Méthodes publiques

Méthode 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

Méthode Description
BufferInfo ( IntPtr pointer ) : System

The constructor ...

Method Details

Get() public méthode

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

Set() public méthode

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

this() public méthode

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