mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Fixed all errors with player loader from db. DBAppearance is redundent and was removed.
This commit is contained in:
@@ -28,8 +28,8 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
||||
public ConnectedPlayer(uint actorId)
|
||||
{
|
||||
this.actorID = actorId;
|
||||
DBCharacter chara = Database.getCharacter(actorId);
|
||||
createPlayerActor(actorId, chara);
|
||||
playerActor = new Player(actorId);
|
||||
actorInstanceList.Add(playerActor);
|
||||
}
|
||||
|
||||
public void addConnection(ClientConnection conn)
|
||||
@@ -89,16 +89,6 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
||||
return playerActor;
|
||||
}
|
||||
|
||||
public void createPlayerActor(uint actorId, DBCharacter chara)
|
||||
{
|
||||
playerActor = new Player(actorId);
|
||||
|
||||
playerActor.displayNameId = 0xFFFFFFFF;
|
||||
playerActor.customDisplayName = chara.name;
|
||||
playerActor.setPlayerAppearance();
|
||||
actorInstanceList.Add(playerActor);
|
||||
}
|
||||
|
||||
public void updatePlayerActorPosition(float x, float y, float z, float rot, ushort moveState)
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user