i want to pickup an item so i send a request to the server for some checks.
Code: Select all
public void PickUpRequest(int id,string name){
Room room = smartFox.LastJoinedRoom;
ISFSObject data=new SFSObject();
data.PutInt("id",id);
data.PutUtfString("name",name);
ExtensionRequest request = new ExtensionRequest("pickUp", data, room);
smartFox.Send(request);
}Thanks