private static LoadVariant ( int ID, int pieceIDs ) : void | ||
ID | int | |
pieceIDs | int | |
Résultat | void |
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 }); }
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; }
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; }
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; }