Tools

Started by Coomzy 4 posts 323 views

Reply on sbox.game
  1. #1
    Coomzy 3,265
  2. #2
    Wisdurm
    [ { "text": [ { "type": "string", "attributes": {}, "string": "Really interesting stuff", "attachment": {} }, { "type": "string", "attributes": { "blockBreak": true }, "string": "\n", "attachment": {} } ], "attributes": [], "htmlAttributes": {} } ]
  3. #3
    trende 4,556
    [ { "text": [ { "type": "string", "attributes": {}, "string": "A question, are you using ResourceLibrary.GetAll\u003C\u003E() to get all of the clothing ever and then use LINQ to filter by category? That could sanitize your clothing code in general", "attachment": {} }, { "type": "string", "attributes": { "blockBreak": true }, "string": "\n", "attachment": {} } ], "attributes": [], "htmlAttributes": {} } ]
  4. #4
    Coomzy Started this 3,265
    [ { "text": [ { "type": "string", "attributes": {}, "string": "I\u0027m using ResourceLibrary.GetAll\u003CClothing\u003E() to get the clothing and then looping through them and adding them to a list of that type. If I was to do it again, I\u0027d probably switch that to a dictionary, not really sure why I didn\u0027t use one at the time.", "attachment": {} }, { "type": "string", "attributes": { "blockBreak": true }, "string": "\n", "attachment": {} }, { "type": "string", "attributes": { "blockBreak": true }, "string": "\n", "attachment": {} }, { "type": "string", "attributes": { "blockBreak": true }, "string": "\n", "attachment": {} } ], "attributes": [], "htmlAttributes": {} } ]