コード例 #1
0
        private static void LoadDisplayDollMale()
        {
            PlayerDataInitializer.CopyVariant(10, 0);
            PlayerDataInitializer.LoadVariant(10, new int[7]
            {
                0,
                2,
                3,
                5,
                7,
                9,
                10
            });
            Asset <Texture2D> player = TextureAssets.Players[10, 2];

            TextureAssets.Players[10, 2]  = player;
            TextureAssets.Players[10, 1]  = player;
            TextureAssets.Players[10, 4]  = player;
            TextureAssets.Players[10, 6]  = player;
            TextureAssets.Players[10, 11] = player;
            TextureAssets.Players[10, 12] = player;
            TextureAssets.Players[10, 13] = player;
            TextureAssets.Players[10, 8]  = player;
            TextureAssets.Players[10, 15] = player;
        }
コード例 #2
0
 public static void Load()
 {
     Main.playerTextures = new Texture2D[8, 15];
     PlayerDataInitializer.LoadStarterMale();
     PlayerDataInitializer.LoadStarterFemale();
     PlayerDataInitializer.LoadStickerMale();
     PlayerDataInitializer.LoadStickerFemale();
     PlayerDataInitializer.LoadGangsterMale();
     PlayerDataInitializer.LoadGangsterFemale();
     PlayerDataInitializer.LoadFancyMale();
     PlayerDataInitializer.LoadFancyFemale();
 }
コード例 #3
0
 private static void LoadGangsterMale()
 {
     PlayerDataInitializer.CopyVariant(2, 0);
     PlayerDataInitializer.LoadVariant(2, new int[6]
     {
         4,
         6,
         8,
         11,
         12,
         13
     });
 }
コード例 #4
0
 private static void LoadDressFemale()
 {
     PlayerDataInitializer.CopyVariant(9, 4);
     PlayerDataInitializer.LoadVariant(9, new int[6]
     {
         4,
         6,
         8,
         11,
         12,
         13
     });
 }
コード例 #5
0
 // Token: 0x06000AC0 RID: 2752 RVA: 0x003C7204 File Offset: 0x003C5404
 private static void LoadStickerMale()
 {
     PlayerDataInitializer.CopyVariant(1, 0);
     PlayerDataInitializer.LoadVariant(1, new int[]
     {
         4,
         6,
         8,
         11,
         12,
         13
     });
 }
コード例 #6
0
 // Token: 0x06000AC6 RID: 2758 RVA: 0x003C72C8 File Offset: 0x003C54C8
 private static void LoadGangsterFemale()
 {
     PlayerDataInitializer.CopyVariant(6, 4);
     PlayerDataInitializer.LoadVariant(6, new int[]
     {
         4,
         6,
         8,
         11,
         12,
         13
     });
 }
コード例 #7
0
 private static void LoadDebugs()
 {
     PlayerDataInitializer.CopyVariant(8, 0);
     PlayerDataInitializer.CopyVariant(9, 4);
     for (int index = 8; index < 10; ++index)
     {
         Main.playerTextures[index, 4]  = Main.armorArmTexture[191];
         Main.playerTextures[index, 6]  = Main.armorArmTexture[191];
         Main.playerTextures[index, 11] = Main.armorArmTexture[191];
         Main.playerTextures[index, 12] = Main.armorArmTexture[191];
         Main.playerTextures[index, 13] = Main.armorArmTexture[191];
         Main.playerTextures[index, 8]  = Main.armorArmTexture[191];
     }
 }
コード例 #8
0
 private static void LoadCoatFemale()
 {
     PlayerDataInitializer.CopyVariant(7, 4);
     PlayerDataInitializer.LoadVariant(7, new int[7]
     {
         4,
         6,
         8,
         11,
         12,
         13,
         14
     });
 }
コード例 #9
0
 public static void Load()
 {
     Main.playerTextures = new Texture2D[10, 15];
     PlayerDataInitializer.LoadStarterMale();
     PlayerDataInitializer.LoadStarterFemale();
     PlayerDataInitializer.LoadStickerMale();
     PlayerDataInitializer.LoadStickerFemale();
     PlayerDataInitializer.LoadGangsterMale();
     PlayerDataInitializer.LoadGangsterFemale();
     PlayerDataInitializer.LoadCoatMale();
     PlayerDataInitializer.LoadDressFemale();
     PlayerDataInitializer.LoadDressMale();
     PlayerDataInitializer.LoadCoatFemale();
 }
コード例 #10
0
 private static void LoadDressMale()
 {
     PlayerDataInitializer.CopyVariant(8, 0);
     PlayerDataInitializer.LoadVariant(8, new int[7]
     {
         4,
         6,
         8,
         11,
         12,
         13,
         14
     });
 }
コード例 #11
0
 // Token: 0x06000AC2 RID: 2754 RVA: 0x003C7244 File Offset: 0x003C5444
 private static void LoadCoatMale()
 {
     PlayerDataInitializer.CopyVariant(3, 0);
     PlayerDataInitializer.LoadVariant(3, new int[]
     {
         4,
         6,
         8,
         11,
         12,
         13,
         14
     });
 }
コード例 #12
0
 public static void Load()
 {
     TextureAssets.Players = new Asset <Texture2D> [12, 16];
     PlayerDataInitializer.LoadStarterMale();
     PlayerDataInitializer.LoadStarterFemale();
     PlayerDataInitializer.LoadStickerMale();
     PlayerDataInitializer.LoadStickerFemale();
     PlayerDataInitializer.LoadGangsterMale();
     PlayerDataInitializer.LoadGangsterFemale();
     PlayerDataInitializer.LoadCoatMale();
     PlayerDataInitializer.LoadDressFemale();
     PlayerDataInitializer.LoadDressMale();
     PlayerDataInitializer.LoadCoatFemale();
     PlayerDataInitializer.LoadDisplayDollMale();
     PlayerDataInitializer.LoadDisplayDollFemale();
 }
コード例 #13
0
 private static void LoadStarterFemale()
 {
     PlayerDataInitializer.CopyVariant(4, 0);
     PlayerDataInitializer.LoadVariant(4, new int[11]
     {
         3,
         4,
         5,
         6,
         7,
         8,
         9,
         10,
         11,
         12,
         13
     });
 }
コード例 #14
0
 private static void LoadStarterMale()
 {
     PlayerDataInitializer.LoadVariant(0, new int[14]
     {
         0,
         1,
         2,
         3,
         4,
         5,
         6,
         7,
         8,
         9,
         10,
         11,
         12,
         13
     });
     Main.playerTextures[0, 14] = TextureManager.BlankTexture;
 }
コード例 #15
0
 private static void LoadStarterMale()
 {
     PlayerDataInitializer.LoadVariant(0, new int[15]
     {
         0,
         1,
         2,
         3,
         4,
         5,
         6,
         7,
         8,
         9,
         10,
         11,
         12,
         13,
         15
     });
     TextureAssets.Players[0, 14] = (Asset <Texture2D>)Asset <Texture2D> .Empty;
 }
コード例 #16
0
        private static void LoadDisplayDollFemale()
        {
            PlayerDataInitializer.CopyVariant(11, 10);
            PlayerDataInitializer.LoadVariant(11, new int[5]
            {
                3,
                5,
                7,
                9,
                10
            });
            Asset <Texture2D> player = TextureAssets.Players[10, 2];

            TextureAssets.Players[11, 2]  = player;
            TextureAssets.Players[11, 1]  = player;
            TextureAssets.Players[11, 4]  = player;
            TextureAssets.Players[11, 6]  = player;
            TextureAssets.Players[11, 11] = player;
            TextureAssets.Players[11, 12] = player;
            TextureAssets.Players[11, 13] = player;
            TextureAssets.Players[11, 8]  = player;
            TextureAssets.Players[11, 15] = player;
        }