| Package | com.electrotank.electroserver4.message.request |
| Class | public class RemoveBuddyRequest |
| Inheritance | RemoveBuddyRequest com.electrotank.electroserver4.message.request.RequestImpl |
//import the needed classes
import com.electrotank.electroserver4.ElectroServer;
//
//Add the buddy
var es:ElectroServer;//It is assumed that this refers to an ElectroServer class instance that is connected to ElectroServer
es.removeBuddy("crazy_face");
See also
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new instance of the RemoveBuddyRequest class.
| RemoveBuddyRequest | ||
|
getBuddyName():String
Gets the name of the buddy to be removed.
| RemoveBuddyRequest | ||
|
setBuddyName(name:String):void
Specifies the name of the buddy to remove.
| RemoveBuddyRequest | ||
| RemoveBuddyRequest | |||
| RemoveBuddyRequest | () | constructor |
public function RemoveBuddyRequest()Creates a new instance of the RemoveBuddyRequest class.
| getBuddyName | () | method |
public function getBuddyName():StringGets the name of the buddy to be removed.
ReturnsString — The name of the buddy to be removed.
|
| setBuddyName | () | method |
public function setBuddyName(name:String):voidSpecifies the name of the buddy to remove.
Parametersname:String — The name of the buddy to remove.
|
| validate | () | method |