Files
a301_mmo_game_server/MMOTestServer/MMOserver/Game/Player.cs
tolelom f9db0d26ca fix: BossRaid 토큰 처리 수정 및 merge conflict 해결
- RestApi.cs: Tokens를 Dictionary<string, string>?으로 수정
- BossRaidResult.cs: Tokens를 Dictionary<string, string>?으로 수정
- GameServer.cs: SendTo(peer) → SendTo(memberPeer) 버그 수정,
  각 파티원에게 개별 토큰 전송

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 12:49:14 +09:00

122 lines
1.4 KiB
C#

namespace MMOserver.Game;
public class Player
{
public int HashKey
{
get;
set;
}
public int PlayerId
{
get;
set;
}
public string Nickname
{
get;
set;
} = string.Empty;
public int Level
{
get;
set;
}
public int Hp
{
get;
set;
}
public int MaxHp
{
get;
set;
}
public int Mp
{
get;
set;
}
public int MaxMp
{
get;
set;
}
public int Experience
{
get;
set;
}
public int NextExp
{
get;
set;
}
public float AttackPower
{
get;
set;
}
public float AttackRange
{
get;
set;
}
public float SprintMultiplier
{
get;
set;
}
// 위치/방향 (클라이언트 패킷과 동일하게 float)
public float PosX
{
get;
set;
}
public float PosY
{
get;
set;
}
public float PosZ
{
get;
set;
}
public float RotY
{
get;
set;
}
// 현재 위치한 맵 ID
public int CurrentMapId
{
get;
set;
}
// 레이드 입장 전 이전 맵 ID (레이드 종료 후 복귀용, 서버 캐싱)
public int PreviousMapId
{
get;
set;
}
}