alap
This commit is contained in:
26
Packets/Game/Dragon/SpawnBabyDragonPacket.cs
Normal file
26
Packets/Game/Dragon/SpawnBabyDragonPacket.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace KCM.Packets.Game.Dragon
|
||||
{
|
||||
public class SpawnBabyDragonPacket : Packet
|
||||
{
|
||||
public override ushort packetId => (int)Enums.Packets.SpawnBabyDragon;
|
||||
|
||||
public Vector3 start { get; set; }
|
||||
|
||||
public override void HandlePacketClient()
|
||||
{
|
||||
DragonSpawn.inst.SpawnBabyDragon(start);
|
||||
}
|
||||
|
||||
public override void HandlePacketServer()
|
||||
{
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
26
Packets/Game/Dragon/SpawnMamaDragonPacket.cs
Normal file
26
Packets/Game/Dragon/SpawnMamaDragonPacket.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace KCM.Packets.Game.Dragon
|
||||
{
|
||||
public class SpawnMamaDragonPacket : Packet
|
||||
{
|
||||
public override ushort packetId => (int)Enums.Packets.SpawnMamaDragon;
|
||||
|
||||
public Vector3 start { get; set; }
|
||||
|
||||
public override void HandlePacketClient()
|
||||
{
|
||||
DragonSpawn.inst.SpawnMamaDragon(start);
|
||||
}
|
||||
|
||||
public override void HandlePacketServer()
|
||||
{
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
26
Packets/Game/Dragon/SpawnSiegeDragonPacket.cs
Normal file
26
Packets/Game/Dragon/SpawnSiegeDragonPacket.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace KCM.Packets.Game.Dragon
|
||||
{
|
||||
public class SpawnSiegeDragonPacket : Packet
|
||||
{
|
||||
public override ushort packetId => (int)Enums.Packets.SpawnSiegeDragon;
|
||||
|
||||
public Vector3 start { get; set; }
|
||||
|
||||
public override void HandlePacketClient()
|
||||
{
|
||||
DragonSpawn.inst.SpawnSiegeDragon(start);
|
||||
}
|
||||
|
||||
public override void HandlePacketServer()
|
||||
{
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user