mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Fixed all errors with player loader from db. DBAppearance is redundent and was removed.
This commit is contained in:
parent
16f6fe98b3
commit
9fc4101812
6 changed files with 181 additions and 172 deletions
|
@ -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)
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue