This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
mochapine64backup/MoCha/Assets/PlayerInfo.cs

36 lines
456 B
C#
Raw Normal View History

2018-04-18 18:15:11 -05:00
using UnityEngine;
using System.Collections;
public class PlayerInfo
{
public string username = "[{\"username\":\"test\", \"user_id\": 1}]";
public int user_id = 0;
public PlayerInfo()
{
username = "";
user_id = 0;
}
public void setUsername(string user)
{
username = user;
}
public string getUsername()
{
return username;
}
public void setUserId(int id)
{
user_id = id;
}
public int getUserId()
{
return user_id;
}
}