コード例 #1
0
ファイル: specialSocial.cs プロジェクト: koketsuSP/Taiwu_mods
        public void testAll(int actorId)
        {
            DateFile df = DateFile.instance;

            //DateFile.instance.GetActorSocial(id, 310, false).Count
            Main.Logger.Log("---------------------------------------------------");
            for (int i = 0; i < 12; i++)
            {
                int typ = 301 + i;
                if (true)
                {
                    if (df.HaveLifeDate(actorId, typ))
                    {
                        List <int> list = new List <int>(df.GetActorSocial(actorId, typ, true));
                        for (int j = 0; j < list.Count; j++)
                        {
                            int aId = list[j];
                            Main.Logger.Log(string.Format("ShowAcotrSocial:Index:{0},Key:{1},Value:{2},Name:{3}", typ, j, aId, this.getActorName(aId)));
                        }
                    }
                }
            }
        }