예제 #1
0
    public void Set_Party(int Adven_Id, int _Party_Id)
    {
        AdventurerInfo Target = Find_Adventurer(Adven_Id);

        Target.Party_Id = _Party_Id;

        PartyManager.Instance.Get_Party(_Party_Id).Party_Members.Add(Target);

        Debug.Log("파티 설정 완료");
    }
예제 #2
0
    public void Create_New_Adventurer()
    {
        AdventurerInfo Adventurer = new AdventurerInfo();

        Debug.Log(Adventurer.Name);

        Adventurer.Id = Adventurer_List.Count;

        Adventurer_List.Add(Adventurer);

        Debug.Log("모험가 생성 : " + Adventurer.Id);

        Join_List.Add(Adventurer);
    }
예제 #3
0
    public AdventurerInfo Find_Adventurer(int id)
    {
        AdventurerInfo Target = Adventurer_List.Find(x => x.Id == id);

        return(Target);
    }