コード例 #1
0
ファイル: editt_handler.py プロジェクト: fdChasm/spyd
 def handle(client, room, message):
     del message['aiclientnum']
     player = client.get_player()
     selection = Selection.from_message(message)
     texture = message['texture']
     all_faces = message['all_faces']
     room.handle_player_event('edit_texture', player, selection, texture, all_faces)
コード例 #2
0
ファイル: editm_handler.py プロジェクト: fdChasm/spyd
 def handle(client, room, message):
     del message['aiclientnum']
     player = client.get_player()
     selection = Selection.from_message(message)
     material = message['material']
     material_filter = message['material_filter']
     room.handle_player_event('edit_material', player, selection, material, material_filter)
コード例 #3
0
 def handle(client, room, message):
     del message['aiclientnum']
     player = client.get_player()
     selection = Selection.from_message(message)
     direction = message['direction']
     mode = message['mode']
     room.handle_player_event('edit_face', player, selection, direction,
                              mode)
コード例 #4
0
 def handle(client, room, message):
     del message['aiclientnum']
     player = client.get_player()
     selection = Selection.from_message(message)
     texture = message['texture']
     all_faces = message['all_faces']
     room.handle_player_event('edit_texture', player, selection, texture,
                              all_faces)
コード例 #5
0
ファイル: editm_handler.py プロジェクト: DanSeraf/spyd
 def handle(client, room, message):
     del message['aiclientnum']
     player = client.get_player()
     selection = Selection.from_message(message)
     material = message['material']
     material_filter = message['material_filter']
     room.handle_player_event('edit_material', player, selection, material,
                              material_filter)
コード例 #6
0
ファイル: replace_handler.py プロジェクト: DanSeraf/spyd
 def handle(client, room, message):
     del message['aiclientnum']
     player = client.get_player()
     selection = Selection.from_message(message)
     texture = message['texture']
     new_texture = message['new_texture']
     in_selection = message['in_selection']
     room.handle_player_event('edit_replace', player, selection, texture, new_texture, in_selection)
コード例 #7
0
 def handle(client, room, message):
     del message['aiclientnum']
     player = client.get_player()
     selection = Selection.from_message(message)
     room.handle_player_event('edit_delete_cubes', player, selection)
コード例 #8
0
ファイル: rotate_handler.py プロジェクト: DanSeraf/spyd
 def handle(client, room, message):
     del message['aiclientnum']
     player = client.get_player()
     selection = Selection.from_message(message)
     axis = message['axis']
     room.handle_player_event('edit_rotate', player, selection, axis)