Checks
Posted: 20 Jun 2011, 13:35
Hello i have a general question.
i want to pickup an item so i send a request to the server for some checks.
But what should i send to the server to find the item in the database and to do some checks? At the moment i am sending the id and name but i do not know if this is okay or not...
Thanks
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