{"id":20572023,"url":"https://github.com/netease/pomelo-unityclient","last_synced_at":"2025-04-14T17:07:58.834Z","repository":{"id":6265725,"uuid":"7498973","full_name":"NetEase/pomelo-unityclient","owner":"NetEase","description":"pomelo client for unity3d.","archived":false,"fork":false,"pushed_at":"2013-01-14T11:05:51.000Z","size":289,"stargazers_count":113,"open_issues_count":5,"forks_count":55,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-04-14T17:07:54.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NetEase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-08T09:30:08.000Z","updated_at":"2024-03-05T01:09:40.000Z","dependencies_parsed_at":"2022-09-07T20:23:12.375Z","dependency_job_id":null,"html_url":"https://github.com/NetEase/pomelo-unityclient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetEase%2Fpomelo-unityclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetEase%2Fpomelo-unityclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetEase%2Fpomelo-unityclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetEase%2Fpomelo-unityclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetEase","download_url":"https://codeload.github.com/NetEase/pomelo-unityclient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248923765,"owners_count":21183953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T05:18:04.289Z","updated_at":"2025-04-14T17:07:58.803Z","avatar_url":"https://github.com/NetEase.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"pomelo-unityclient\n=============================\nThis is the pomelo client for unity3d. The project is based on some libraries as follows:\n\n* WebSocket4Net  (http://websocket4net.codeplex.com/), and you should choose the .Net 3.5 runtime version.\n\n* UnitySocketIO (https://github.com/NetEase/UnitySocketIO).\n\n## How to use\nIt is very simple to use pomelo-unityclient. Copy all the DLLS locating in the file of /bin/Debug/ \nto your project.\n\nOf course, you can download this project and compile it:\n\n\u003egit clone  https://github.com/NetEase/pomelo-unityclient.git\n\n## API\n\nCreate and initialize a new pomelo client.\n\n```c#\nPomeloClient pclient = new PomeloClient(url);\npclient.init();\n\n```\n\nSend request to server and process data in callback.\n\n```c#\npclient.request(route, message, (data)=\u003e{\n    //process the data\n});\n```\nNotify server without response\n\n```c#\npclient.notify(route, messge);\n```\nAdd event listener, process broadcast message\n```c#\npclient.On(route, (data)=\u003e{\n    //process the data\n});\n```\nDisconnect the client.\n```c#\npclient.disconnect();\n```\n##License\n(The MIT License)\n\nCopyright (c) 2012-2013 NetEase, Inc. and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a \ncopy of this software and associated documentation files (the 'Software'), \nto deal in the Software without restriction, including without limitation\nthe rights to use, copy, modify, merge, publish, distribute, sublicense, \nand/or sell copies of the Software, and to permit persons to whom the \nSoftware is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in \nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetease%2Fpomelo-unityclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetease%2Fpomelo-unityclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetease%2Fpomelo-unityclient/lists"}