mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 23:47:16 +02:00
12 lines
276 B
Python
12 lines
276 B
Python
|
|
from twisted.protocols import amp
|
||
|
|
|
||
|
|
class Shutdown(amp.Command):
|
||
|
|
responseType = amp.QuitBox
|
||
|
|
|
||
|
|
class Ping(amp.Command):
|
||
|
|
response = [('response', amp.String())]
|
||
|
|
|
||
|
|
class Echo(amp.Command):
|
||
|
|
arguments = [('data', amp.String())]
|
||
|
|
response = [('response', amp.String())]
|