コード例 #1
0
ファイル: ArmoryUtils.cs プロジェクト: Hengle/swc-decompiled
        public static EquipmentVO GetCurrentEquipmentDataByID(string equipmentId)
        {
            int level = Service.Get <CurrentPlayer>().UnlockedLevels.Equipment.GetLevel(equipmentId);

            return(ArmoryUtils.GetEquipmentDataByID(equipmentId, level));
        }
コード例 #2
0
ファイル: ArmoryUtils.cs プロジェクト: Hengle/swc-decompiled
 public unsafe static long $Invoke3(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(ArmoryUtils.GetEquipmentDataByID(Marshal.PtrToStringUni(*(IntPtr *)args), *(int *)(args + 1))));
 }