Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6963137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:45:02+00:00 2026-05-27T15:45:02+00:00

I have these 2 fairly large arrays, one with pointers and one with strings

  • 0

I have these 2 fairly large arrays, one with pointers and one with strings to id them so I can access them with int z being their index. I occasionally come back to them to do stuff with it.

        //LUTs(names start, names end, descriptions strart, descriptions end)
UInt32[,] multiPointer = {{0x81656650, 0x816571F8, 0x816571FC, 0x81657DA4},//item
                          {0x81671DE0, 0x81671FE8, 0x81672820, 0x81672A28},//chest
                          {0x81671FEC, 0x816721DC, 0x81672A2C, 0x81672C1C},//arm
                          {0x816721E0, 0x816723D4, 0x81672C20, 0x81672E14},//waist
                          {0x816723D8, 0x816725C8, 0x81672E18, 0x81673008},//legging
                          {0x816725CC, 0x816727FC, 0x8167300C, 0x8167323C},//headgear
                          {0x81672800, 0x8167281C, 0x81673240, 0x8167325C},//talisman
                          {0x81666B20, 0x81666C94, 0x81667290, 0x81667404},//GS
                          {0x81666C98, 0x81666E04, 0x81667408, 0x81667574},//SnS
                          {0x81666E08, 0x81666F5C, 0x81667578, 0x816676CC},//hammer
                          {0x81667108, 0x8166728C, 0x81667878, 0x816679FC},//lance
                          {0x81670600, 0x8167064C, 0x816706F4, 0x81670740},//bg frame
                          {0x816705B0, 0x816705FC, 0x816706A4, 0x816706F0},//bg barrel
                          {0x81670650, 0x816706A0, 0x81670744, 0x81670794},//bg stock
                          {0x81666F60, 0x8166700C, 0x816676D0, 0x8166777C},//LS
                          {0x81667010, 0x81667104, 0x81667780, 0x81667874},//SwA
                          {0x8168423C, 0x816842DC, 0x0,0x0},//monster
                          {0x816856F8, 0x816858CC, 0x816858D0, 0x81685AA4},//title
                          {0x81656FEC, 0x816571F8, 0x0, 0x0}//decorations
                         };
string[] stuff = { "Item", 
                   "Chest", 
                   "Arm", 
                   "Waist", 
                   "Legging", 
                   "Headgear", 
                   "Talisman", 
                   "Great Sword", 
                   "Sword and Shield",
                   "Hammer", "Lance", 
                   "Bowgun Frame", 
                   "Bowgun Barrel", 
                   "Bowgun Stock", 
                   "Longsword", 
                   "Switch Axe", 
                   "Monster", 
                   "Title",
                   "Decorations"
                 };

Sorry about the terrible names. Before they were 5 different arrays until I learned about multidimensional arrays. But then I can’t combine the strings with the hex. Is there a way to combine these 2 arrays so that it looks neater?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:45:02+00:00Added an answer on May 27, 2026 at 3:45 pm

    Create a class that contains a string and 4 UInt32

    public class Item {
        public UInt32 Value1 { get; private set; }
        public UInt32 Value2 { get; private set; }
        public UInt32 Value3 { get; private set; }
        public UInt32 Value4 { get; private set; }
        public string Stuff { get; private set; }
    }
    

    Now you can create an array of Item:

    public Item[] items = {
        { 0x81656650, 0x816571F8, 0x816571FC, 0x81657DA4, "Item" },
    }
    

    And so on…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Python program that processes fairly large NumPy arrays (in the hundreds
I have a fairly large Excel file. In this file there is a column
I have a fairly simple question about these 2 templating engines. I'm trying to
I have these two pieces of code, wich one is more readable? foreach decimal
I have these container objects (let's call them Container) in a list. Each of
I have these tables: customer -------- customer_id int name varchar(255) order ----- order_id int
I have these structs: typedef struct _Frag{ struct _Frag *next; char *seq; int x1;
I have a fairly large (new) project in which we have annotated many domain
I have a fairly large chunk of code that produces/returns an arraylist of search
I have 41 JSON objects, each with the same scheme. These objects are fairly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.