xy 3 주 전
부모
커밋
cac96fea52
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      src/client.php

+ 1 - 4
src/client.php

@@ -9,10 +9,6 @@ use Common_pack\ResEnterHall;
 use Common_pack\ResLogin;
 use Common_pack\ResLogin;
 use Google\Protobuf\Internal\Message;
 use Google\Protobuf\Internal\Message;
 
 
-class MsgID {
-    const ENTERHALL = 1;
-    const RESENTERHALL = 2;
-}
 
 
 class GameClient {
 class GameClient {
     private ?WebSocketClient $client = null;
     private ?WebSocketClient $client = null;
@@ -92,6 +88,7 @@ class GameClient {
     }
     }
 
 
     private function initWebSocketConnection() {
     private function initWebSocketConnection() {
+        // wss://leaf.ktle.top
         $this->client = new WebSocketClient('ws://localhost:3653');
         $this->client = new WebSocketClient('ws://localhost:3653');
         
         
         $this->client->on(MsgID::RESENTERHALL, function($binaryData) {
         $this->client->on(MsgID::RESENTERHALL, function($binaryData) {