fix : playerID == hashkey 통일 / long => int로 변경
This commit is contained in:
@@ -12,7 +12,7 @@ public class DummyClients
|
||||
private EventBasedNetListener listener;
|
||||
private NetDataWriter? writer;
|
||||
public NetPeer? peer;
|
||||
public long clientId; // 일단 이게 hashKey가 됨 => 0 ~ 1000번까지는 더미용응로 뺴둠
|
||||
public int clientId; // 일단 이게 hashKey가 됨 => 0 ~ 1000번까지는 더미용응로 뺴둠
|
||||
|
||||
// info
|
||||
private Vector3 position = new Vector3();
|
||||
@@ -50,7 +50,7 @@ public class DummyClients
|
||||
get;
|
||||
}
|
||||
|
||||
public DummyClients(long clientId, string ip, int port, string key)
|
||||
public DummyClients(int clientId, string ip, int port, string key)
|
||||
{
|
||||
this.clientId = clientId;
|
||||
listener = new EventBasedNetListener();
|
||||
@@ -139,7 +139,7 @@ public class DummyClients
|
||||
UpdateDummy();
|
||||
TransformPlayerPacket transformPlayerPacket = new TransformPlayerPacket
|
||||
{
|
||||
PlayerId = (int)clientId,
|
||||
PlayerId = clientId,
|
||||
RotY = rotY,
|
||||
Position = new Packet.Vector3
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user