mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
handleMessageType
This commit is contained in:
parent
c195f770ea
commit
5b59964012
@ -155,6 +155,9 @@ class ClientRepository(ClientRepositoryBase):
|
||||
# may forget to send heartbeats. Keep them coming!
|
||||
self.considerHeartbeat()
|
||||
|
||||
def handleMessageType(self, msgType, di):
|
||||
self.notify.error("unrecognized message")
|
||||
|
||||
def handleGenerateWithRequired(self, di):
|
||||
# Get the class Id
|
||||
classId = di.getUint16()
|
||||
|
@ -225,7 +225,10 @@ class ServerRepository:
|
||||
elif type == CLIENT_OBJECT_DISABLE:
|
||||
self.handleClientDisable(datagram, dgi.getUint32())
|
||||
else:
|
||||
self.notify.error("unrecognized message")
|
||||
self.handleMessageType(type, dgi)
|
||||
|
||||
def handleMessageType(self, msgType, di):
|
||||
self.notify.error("unrecognized message")
|
||||
|
||||
# client wants to create an object, so we store appropriate data,
|
||||
# and then pass message along to corresponding zones
|
||||
|
Loading…
x
Reference in New Issue
Block a user