123456789101112131415161718 |
- using UnityEngine;
- using System.Collections;
- using System.Collections.Generic;
- using Sfs2X;
- using Sfs2X.Entities.Data;
- public class AttackHandler : LocalRequestHandler {
- override public void HandleClientRequest(GameRoomService service, ISFSObject data)
- {
- if(data.GetInt("p") == 62)
- {
- data.GetSFSObject("d").PutInt("i", service.CreateCraftId());
- }
- service.Send(Command.Attack.ToString(), data);
- }
- }
|