/* Subspace Mobile - A Android Subspace Client Copyright (C) 2012 Kingsley Masters. All Rights Reserved. kingsley dot masters at gmail dot com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ package com.subspace.android; import com.subspace.network.messages.PlayerEnter; public class Player { public short Id; public byte ShipType; public byte Unknown; //todo public String Name; public String Squad; public int FlagPoints; public int KillPoints; public short Wins; public short Losses; public short Audio; //todo fix me public int OtherStuff; //todo fix me public Player(PlayerEnter entering) { Id = entering.Id; ShipType = entering.ShipType; Unknown = entering.Unknown; Name = entering.Name; Squad = entering.Squad; FlagPoints = entering.FlagPoints; KillPoints = entering.KillPoints; Wins = entering.Wins; Losses = entering.Losses; Audio = entering.Audio; OtherStuff = entering.OtherStuff; } public Player() { // TODO Auto-generated constructor stub } }