My english is really bad.
On the server side I create DatabaseObject and try send it to client.
- Code: Select all
DatabaseObject _dbObj = new DatabaseObject();
_dbObj.Set("field1", 1);
_dbObj.Set("field2", "value2");
player.Send("Data", _dbObj); //send data to client
But nothing happens. If I try send Int, String.. or other simply types all works well.
Any ideas =)? Can I send to client DatabaseObject or DatabaseArray or some Class object...
Thanks =)